Re: [PATCH v1 0/2] x86/init: extend quirk use

From: Sebastian Andrzej Siewior
Date: Mon Apr 11 2016 - 03:32:38 EST


On 04/09/2016 02:22 AM, Luis R. Rodriguez wrote:
> What seems a bit odd is CE4100 leaves RTC enabled, can someone
> confirm if indeed it really needs it, or can it also disable it
> as with Xen, lguest, and Intel MID ?

So what you do with "x86_platform.legacy.rtc" is to skip
add_rtc_cmos(). For ce4100 I added of_have_populated_dt() to skip the
probe.
If you plan to add this to CE4100 you could remove the
"of_have_populated_dt()". It was meant to skip the RTC probe on all OF
platforms but as of now, CE4100 is the only.

Sebastian