This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: redboot write to memory mapped register
- From: yh at bizmail dot com dot au
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 24 Jan 2006 11:38:05 +1100 (EST)
- Subject: [ECOS] Re: redboot write to memory mapped register
Hello,
In redboot, if I want to write to peripheral register in sync memory (such
as 0x70000000 in cirrus EP9301 chip), can I directly placed the address
0x70000000 into the HAL_WRITE_UINT32, or do I need to call
hal_virt_to_phys_address to convert 0x70000000 to physical address?
Thank you.
Jim
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss