From: "Michael Anburaj" <embeddedeng@hotmail.com>
To: gary@mind.be
CC: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] hal_clock_initialize()
Date: Mon, 07 Jul 2003 23:38:11 +0000
Hi Gary,
This initialization is normally done in the platform init code
on platforms where it is required (to get the DELAY_US() to work).
For example, in hal/arm/edb7xxx/current/src/edb7xxx_misc.c.
Yea you are right, on the edb7xxx platform its done like that. On the ARM9
variants, the hal_hardware_init() in arm9_misc.c calls plf_hardware_init().
And you if you look at plf_hardware_init() in aaed2000_misc.c, it does not
initialize the RTC. Since, I am working on an ARM920T, I took aaed2000 as
my reference.
Let me know how it works on the ARM9_aaed2000 platform.
-Mike.
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss