summaryrefslogtreecommitdiff
path: root/board/cm41xx/flash.c
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-22 17:53:43 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-26 21:18:12 +0100
commitb60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d (patch)
treeb4bcab9f621f05187bde8a839613e2d6e34c1106 /board/cm41xx/flash.c
parentd0b5d9da5de280120b73e776663f6a3024f225f4 (diff)
downloadu-boot-imx-b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d.zip
u-boot-imx-b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d.tar.gz
u-boot-imx-b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d.tar.bz2
arm: remove unneeded symbol offsets and _TEXT_BASE
Remove the last uses of symbol offsets in ARM U-Boot. Remove some needless uses of _TEXT_BASE. Remove all _TEXT_BASE definitions. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'board/cm41xx/flash.c')
-rw-r--r--board/cm41xx/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cm41xx/flash.c b/board/cm41xx/flash.c
index 2511928..8315a57 100644
--- a/board/cm41xx/flash.c
+++ b/board/cm41xx/flash.c
@@ -57,7 +57,7 @@ unsigned long flash_init (void)
*/
flash_protect (FLAG_PROTECT_SET,
CONFIG_SYS_FLASH_BASE,
- CONFIG_SYS_FLASH_BASE + _bss_start_ofs,
+ CONFIG_SYS_FLASH_BASE + (__bss_end - __bss_start),
&flash_info[0]);
return size;