core/linux-raspberrypi add support for pcf2127 rtc for rasclock

This commit is contained in:
moonman 2013-12-12 03:34:11 -07:00
parent da831c35ae
commit d5989a976d
2 changed files with 11 additions and 5 deletions

View file

@ -9,7 +9,7 @@ _srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="Raspberry Pi"
pkgver=3.10.23
pkgrel=1
pkgrel=2
arch=('arm armv6h')
url="http://www.kernel.org/"
license=('GPL2')
@ -21,15 +21,17 @@ source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz"
'args-uncompressed.txt'
'boot-uncompressed.txt'
'imagetool-uncompressed.py'
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}")
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
'rasclockPCF2127.patch::http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/patch/?id=18cb6368f0b0fc6a28bd49ee547b4f655db97fc3')
md5sums=('9478a53f6fe5c083c475230cca5b1ed5'
'7fdd715cf31649f71e9c1ee5e99a47e3'
'32fd2a88136c75e11ef0d593acd8aeaa'
'9d3c56a4b999c8bfbd4018089a62f662'
'9335d1263fd426215db69841a380ea26'
'a00e424e2fbb8c5a5f77ba2c4871bed4'
'2f82dbe5752af65ff409d737caf11954'
'SKIP')
'SKIP'
'fc75790fbb31312459770c682113c5bc')
prepare() {
cd "${srcdir}/${_srcname}"
@ -43,6 +45,9 @@ prepare() {
cp ${srcdir}/boot-uncompressed.txt arch/arm/boot/
cp ${srcdir}/imagetool-uncompressed.py arch/arm/boot/
# PCF2127 RTC driver for rasclock
patch -Np1 -i "${srcdir}/rasclockPCF2127.patch"
# AUFS patches
cp -ru "${srcdir}/aufs3-standalone/Documentation" .
cp -ru "${srcdir}/aufs3-standalone/fs" .

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.10.22-1 Kernel Configuration
# Linux/arm 3.10.23-1 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@ -3095,6 +3095,7 @@ CONFIG_RTC_DRV_RS5C372=m
CONFIG_RTC_DRV_ISL1208=m
CONFIG_RTC_DRV_ISL12022=m
CONFIG_RTC_DRV_X1205=m
CONFIG_RTC_DRV_PCF2127=m
CONFIG_RTC_DRV_PCF8523=m
CONFIG_RTC_DRV_PCF8563=m
CONFIG_RTC_DRV_PCF8583=m