From patchwork Fri Aug 10 21:51:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dann frazier X-Patchwork-Id: 176957 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 886DA2C0092 for ; Tue, 14 Aug 2012 00:30:23 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T0vem-0003TN-Ct; Mon, 13 Aug 2012 14:30:12 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Szx7W-00042C-QT for kernel-team@lists.ubuntu.com; Fri, 10 Aug 2012 21:51:50 +0000 Received: from c-76-120-123-66.hsd1.co.comcast.net ([76.120.123.66] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Szx7W-00041j-Eq; Fri, 10 Aug 2012 21:51:50 +0000 Date: Fri, 10 Aug 2012 15:51:48 -0600 From: dann frazier To: kernel-team@lists.ubuntu.com Subject: [PATCH] UBUNTU: config: Make rtc-pl031 static on highbank Message-ID: <20120810215148.GA1265@dannf.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 13 Aug 2012 14:30:10 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com rtc-pl031 is the driver used for the RTC on the highbank platform. We build it as a module in precise/quantal, but that makes it unavailable in early boot, which results in this error message: /build/buildd/linux-3.2.0/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) And also prevents us from being able to accurately check the last-mounted time on the root filesystem. BugLink: https://bugs.launchpad.net/eilt/+bug/1035110 Signed-off-by: dann frazier diff -urpN linux-3.5.0.orig/debian.master/config/armel/config.common.armel linux-3.5.0/debian.master/config/armel/config.common.armel --- linux-3.5.0.orig/debian.master/config/armel/config.common.armel 2012-08-10 16:28:30.000000000 -0500 +++ linux-3.5.0/debian.master/config/armel/config.common.armel 2012-08-10 16:32:55.629993528 -0500 @@ -199,6 +199,7 @@ CONFIG_RELAY=y # CONFIG_RT2800USB_UNKNOWN is not set CONFIG_RT2X00_LIB_DEBUGFS=y CONFIG_RTC_DRV_CMOS=m +CONFIG_RTC_DRV_PL031=m CONFIG_RTC_DRV_TWL4030=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_SATA_AHCI_PLATFORM=m diff -urpN linux-3.5.0.orig/debian.master/config/armhf/config.flavour.highbank linux-3.5.0/debian.master/config/armhf/config.flavour.highbank --- linux-3.5.0.orig/debian.master/config/armhf/config.flavour.highbank 2012-08-10 16:28:30.000000000 -0500 +++ linux-3.5.0/debian.master/config/armhf/config.flavour.highbank 2012-08-10 16:32:07.199993532 -0500 @@ -135,6 +135,7 @@ CONFIG_PREEMPT_RCU=y # CONFIG_REISERFS_FS_POSIX_ACL is not set # CONFIG_REISERFS_FS_SECURITY is not set # CONFIG_RELAY is not set +CONFIG_RTC_DRV_PL031=y CONFIG_RTC_DRV_TWL4030=m CONFIG_SATA_AHCI_PLATFORM=y # CONFIG_SCHED_AUTOGROUP is not set diff -urpN linux-3.5.0.orig/debian.master/config/armhf/config.flavour.omap linux-3.5.0/debian.master/config/armhf/config.flavour.omap --- linux-3.5.0.orig/debian.master/config/armhf/config.flavour.omap 2012-08-10 16:28:30.000000000 -0500 +++ linux-3.5.0/debian.master/config/armhf/config.flavour.omap 2012-08-10 16:32:07.229993532 -0500 @@ -135,6 +135,7 @@ CONFIG_QUOTA_NETLINK_INTERFACE=y CONFIG_REISERFS_FS_POSIX_ACL=y CONFIG_REISERFS_FS_SECURITY=y CONFIG_RELAY=y +CONFIG_RTC_DRV_PL031=m CONFIG_RTC_DRV_TWL4030=y CONFIG_SATA_AHCI_PLATFORM=m CONFIG_SCHED_AUTOGROUP=y diff -urpN linux-3.5.0.orig/debian.master/config/config.common.ubuntu linux-3.5.0/debian.master/config/config.common.ubuntu --- linux-3.5.0.orig/debian.master/config/config.common.ubuntu 2012-08-10 16:28:30.000000000 -0500 +++ linux-3.5.0/debian.master/config/config.common.ubuntu 2012-08-10 16:32:55.609993528 -0500 @@ -4536,7 +4536,6 @@ CONFIG_RTC_DRV_PCF50633=m CONFIG_RTC_DRV_PCF8563=m CONFIG_RTC_DRV_PCF8583=m CONFIG_RTC_DRV_PL030=m -CONFIG_RTC_DRV_PL031=m CONFIG_RTC_DRV_PS3=m CONFIG_RTC_DRV_R9701=m CONFIG_RTC_DRV_RP5C01=m