linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Eliminating RTC from MPC5200
@ 2005-04-11 18:30 Grant Likely
  2005-04-12  4:03 ` Daniel Ann
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Likely @ 2005-04-11 18:30 UTC (permalink / raw)
  To: linuxppc-embedded

I'm working on a design using the MPC5200.  The hardware engineer I'm
working has asked if he could omit the crystal for the RTC.  I've
searched through the Linux source (2.6.11) and it seems that the on
the lite5200 the RTC is being used to measure both the system clock
and the decrementer speed for the serial port.  It does not look like
the RTC is used otherwise.

Is this true?  Can I eliminate the need for the RTC If I modify
mpc52xx_calibrate_decr() in arch/ppc/syslib/mpc52xx_setup.c and
mpc52xx_ipbfreq() in arch/ppc/boot/simple/mpc52xx_tty.c?  I'm assuming
that I can hard code the system clock speeds for my specific hardware.

Thanks,
g.

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

end of thread, other threads:[~2005-04-12  4:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-11 18:30 Eliminating RTC from MPC5200 Grant Likely
2005-04-12  4:03 ` Daniel Ann

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).