summaryrefslogtreecommitdiff
path: root/board/cm4008/flash.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-02-26 21:49:58 (GMT)
committerTom Rini <trini@ti.com>2014-02-26 21:49:58 (GMT)
commiteeb72e67619b98d2502fe634a3a5d9953de92ad0 (patch)
treeedea4b04062ec956158c163b13c9a31fcfdccde8 /board/cm4008/flash.c
parent715b56fe2b47e073e6f2425e0cedba0e92a4014d (diff)
parent1551df35f296f0a8df32f4f2054254f46e8be252 (diff)
downloadu-boot-fsl-qoriq-eeb72e67619b98d2502fe634a3a5d9953de92ad0.tar.xz
Merge branch 'master' of git://git.denx.de/u-boot-arm
Conflicts: arch/arm/cpu/armv7/config.mk board/ti/am43xx/mux.c include/configs/am43xx_evm.h Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/cm4008/flash.c')
-rw-r--r--board/cm4008/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cm4008/flash.c b/board/cm4008/flash.c
index 2511928..8315a57 100644
--- a/board/cm4008/flash.c
+++ b/board/cm4008/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;