linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* TODC on ppc440
@ 2005-04-22  0:32 Shawn Jin
  2005-04-22  0:48 ` Eugene Surovegin
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Jin @ 2005-04-22  0:32 UTC (permalink / raw)
  To: ppcembed

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TODC on ppc440
  2005-04-22  0:32 TODC on ppc440 Shawn Jin
@ 2005-04-22  0:48 ` Eugene Surovegin
  0 siblings, 0 replies; 2+ messages in thread
From: Eugene Surovegin @ 2005-04-22  0:48 UTC (permalink / raw)
  To: Shawn Jin; +Cc: ppcembed

On Thu, Apr 21, 2005 at 05:32:43PM -0700, Shawn Jin wrote:
> 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?

No, RTC isn't required for Linux to run, but usually is useful to 
have.

-- 
Eugene

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-22  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-22  0:32 TODC on ppc440 Shawn Jin
2005-04-22  0:48 ` Eugene Surovegin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).