This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hal_clock_initialize()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]