[ECOS] at91hal_platform_setup.h question

Tim Drury tdrury@siliconmotorsports.com
Wed Jun 19 21:40:00 GMT 2002


The following lines appear in hal_platform_setup.h:

#if defined(CYG_HAL_STARTUP_ROMRAM)
        ldr     r0,=0x01010000          // Relocate FLASH/ROM to on-chip RAM
        ldr     r1,=0x02000000          // RAM base & length
        ldr     r2,=0x02010000
...

Is there any particular reason the RAM and ROM addresses and lengths
are hard-coded here?  Why not put the constants defined in
mlt_arm_at91_eb40_ramrom.h in there?

-tim


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list