Add two new options, FLASHADDR, which defines the address the flash is

mapped at, and LOADERRAMADDR, the address at which the loader maps the ram at
at the time the kernel is booted.
They are used to detect if the kernel is booted from the onboard flash.
Define those for the IQ31244
This commit is contained in:
Olivier Houchard 2007-02-19 01:03:08 +00:00
parent db599c2f20
commit f59ae8e84a
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ ident IQ31244
options PHYSADDR=0xa0000000
options KERNPHYSADDR=0xa0200000
options KERNVIRTADDR=0xc0200000 # Used in ldscript.arm
options FLASHADDR=0xf0000000
options LOADERRAMADDR=0x00000000
options STARTUP_PAGETABLE_ADDR=0xa0000000
include "../xscale/i80321/std.iq31244"

View File

@ -11,8 +11,10 @@ CPU_ARM9 opt_global.h
CPU_XSCALE_80321 opt_global.h
CPU_XSCALE_80219 opt_global.h
CPU_XSCALE_IXP425 opt_global.h
FLASHADDR opt_global.h
KERNPHYSADDR opt_global.h
KERNVIRTADDR opt_global.h
LOADERRAMADDR opt_global.h
PHYSADDR opt_global.h
SKYEYE_WORKAROUNDS opt_global.h
STARTUP_PAGETABLE_ADDR opt_global.h