powerpc/pseries: enable RTC class support
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>
Fri, 3 Jul 2015 05:11:20 +0000 (10:41 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 18 Aug 2015 09:34:41 +0000 (19:34 +1000)
commite0ad784b65a64a617179598addb417d49dd4e08f
treeee6cbb9dcb90754c6abd0ffa5d5f655a246cd194
parent1d805440a364b4a68562e70119d8f94456698e55
powerpc/pseries: enable RTC class support

A working rtc kernel driver is needed so that hwclock can synchronize
system clock to rtc during shutdown/boot. We already have a powernv
platform rtc driver located at drivers/rtc/rtc-opal.c. However it depends
on CONFIG_RTC_CLASS which is disabled by default. Hence the driver isn't
enabled and not compiled for the powernv kernel.

We fix this by enabling rtc class support in pseries defconfig which
enables this driver and compiles it into the pseries kernel. In case
CONFIG_PPC_POWERNV is not enabled we fallback to 'Generic RTC support'
driver which emulates the legacy 'PC RTC driver'.

Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/configs/pseries_defconfig
This page took 0.02594 seconds and 5 git commands to generate.