Starting the real time clock on virgin systems
Ronald G. Minnich
rminnich at lanl.gov
Wed Dec 11 09:38:01 CET 2002
On 11 Dec 2002, Eric W. Biederman wrote:
> The only problem with pc80/rtc.c is that pc80/mc14618rtc.c already
> exists and even has this code. It is just a mater of calling: rtc_init,
> on most of the boards that need it. It has a long name only because
> it references the original motorola part number.
OK.
> So calling rtc_init from an appropriate place appears to be all that
> is required. Which I do from ich2_rtc_init() and ich3_rtc_init().
I wonder if we might not call rtc_init from hardware main based upon a
config variable? CONFIG_RTC_INIT? Is there harm done if you call it but it
did not need to be called? I have never looked at the RTC, as you can
tell.
ron
More information about the coreboot
mailing list