summaryrefslogtreecommitdiffstats
path: root/board/woodburn
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-14 06:54:53 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:13:54 -0400
commit3929fb0a141530551b3fce15ee08629f80d5ef2a (patch)
tree8c3e31e338afb232ac5e404225304c7285136bf4 /board/woodburn
parent69d59b47ad408d9961b850f23e59a93fdeb71df8 (diff)
downloadblackbird-obmc-uboot-3929fb0a141530551b3fce15ee08629f80d5ef2a.tar.gz
blackbird-obmc-uboot-3929fb0a141530551b3fce15ee08629f80d5ef2a.zip
Replace __bss_end__ with __bss_end
Note this is a tree-wide change affecting multiple architectures. At present we use __bss_start, but mostly __bss_end__. This seems inconsistent and in a number of places __bss_end is used instead. Change to use __bss_end for the BSS end symbol throughout U-Boot. This makes it possible to use the asm-generic/sections.h file on all archs. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/woodburn')
-rw-r--r--board/woodburn/woodburn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/woodburn/woodburn.c b/board/woodburn/woodburn.c
index 5b044a95c0..7c36af080e 100644
--- a/board/woodburn/woodburn.c
+++ b/board/woodburn/woodburn.c
@@ -148,7 +148,7 @@ void board_init_f(ulong dummy)
woodburn_init();
/* Clear the BSS. */
- memset(__bss_start, 0, __bss_end__ - __bss_start);
+ memset(__bss_start, 0, __bss_end - __bss_start);
/* Set global data pointer. */
gd = &gdata;
OpenPOWER on IntegriCloud