[v3] powerpc/configs: enable RTC class support

Michael Ellerman mpe at ellerman.id.au
Wed Jun 17 15:43:15 AEST 2015


On Mon, 2015-01-06 at 10:48:55 UTC, Vaibhav Jain wrote:
> A working rtc kernel driver is needed so that hwclock can synchronize
> system clock to rtc during shutdown/boot. We already have a rtc platform
> driver for power arch located at drivers/rtc/rtc-opal.c However it
> depends on CONFIG_RTC_CLASS which is disabled by default. So this driver
> is not compiled with pseries defconfig as rtc class support is missing
> from the kernel.
> 
> We fix this by enabling rtc class support in pseries defconfig so that
> this driver gets enabled and is compiled into the pseries kernel.

So that seems fair enough.

But, it disables CONFIG_GEN_RTC. Which *I think* means we won't get an RTC
driver at all on pseries machines.

There's some history between those two options but I don't know it off the top
of my head. Ben should know?

cheers


More information about the Linuxppc-dev mailing list