diff options
author | Po-Yu Chuang <ratbert@faraday-tech.com> | 2011-03-01 23:02:04 +0000 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-03-27 19:18:52 +0200 |
commit | f326cbba98bae21d41df8daac0bd78121d557af1 (patch) | |
tree | f22e894ede1e38fd6d048367ba50d4c539860b1e /arch/arm/include/asm/u-boot-arm.h | |
parent | 44c6e6591cb451ae606f8bde71dd5fb7b4002544 (diff) | |
download | u-boot-imx-f326cbba98bae21d41df8daac0bd78121d557af1.zip u-boot-imx-f326cbba98bae21d41df8daac0bd78121d557af1.tar.gz u-boot-imx-f326cbba98bae21d41df8daac0bd78121d557af1.tar.bz2 |
arm: fix incorrect monitor protection region in FLASH
Monitor protection region in FLASH did not cover .rel.dyn
and .dynsym sections, because it uses __bss_start to compute
monitor_flash_len. Use _end instead.
Add _end to linker scripts for end of u-boot image
Add _end_ofs to all the start.S.
Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Diffstat (limited to 'arch/arm/include/asm/u-boot-arm.h')
-rw-r--r-- | arch/arm/include/asm/u-boot-arm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index 33973a3..3904027 100644 --- a/arch/arm/include/asm/u-boot-arm.h +++ b/arch/arm/include/asm/u-boot-arm.h @@ -32,6 +32,7 @@ /* for the following variables, see start.S */ extern ulong _bss_start_ofs; /* BSS start relative to _start */ extern ulong _bss_end_ofs; /* BSS end relative to _start */ +extern ulong _end_ofs; /* end of image relative to _start */ extern ulong IRQ_STACK_START; /* top of IRQ stack */ extern ulong FIQ_STACK_START; /* top of FIQ stack */ extern ulong _TEXT_BASE; /* code start */ |