* 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
* Re: Eliminating RTC from MPC5200
2005-04-11 18:30 Eliminating RTC from MPC5200 Grant Likely
@ 2005-04-12 4:03 ` Daniel Ann
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Ann @ 2005-04-12 4:03 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-embedded
On Apr 12, 2005 3:30 AM, Grant Likely <glikely@gmail.com> wrote:
> 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.
This kinda relates back to my previous post.
Tho I'm not using mpc52xx, my board doesnt have RTC as well. And I
simply blocked out all the time related functions except the
calibrate_decr. And hard coded the freq.
It works nicely.
BTW, I'm using mpc8245. You should be able to find my post dating back
no more than a week or two. Originally I had trouble working out the
freq, but its all solved thanks to Mark ^^
--
Daniel
^ 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).