TODC on ppc440
Hi,
Our SoC using ppc440 core will run on an emulator first. It doesn't have an external RTC. Hence time_init, set_rtc_time, get_rtc_time of ppc_md are all set to NULL. No TODC_ALLOC() is defined.
I'm wondering if todc is vital to make OS run correctly. Is there any other choice?
I grepped ppc_md.time_init in the kernel source. It seems that linux can run without ppc_md.time_init.
Any ideas?
-Shawn.
Quoted 6 lines · Shawn Jin
Our SoC using ppc440 core will run on an emulator first. It doesn't have an external RTC. Hence
time_init,set_rtc_time,get_rtc_timeofppc_mdare all set to NULL. NoTODC_ALLOC()is defined.I'm wondering if todc is vital to make OS run correctly. Is there any other choice?
No, RTC isn't required for Linux to run, but usually is useful to have.
Signature · 1 line
Eugene