summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/board.c
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 /arch/powerpc/lib/board.c
parent69d59b47ad408d9961b850f23e59a93fdeb71df8 (diff)
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 'arch/powerpc/lib/board.c')
-rw-r--r--arch/powerpc/lib/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
index 12270a4533..0b23d30b8d 100644
--- a/arch/powerpc/lib/board.c
+++ b/arch/powerpc/lib/board.c
@@ -123,7 +123,7 @@ DECLARE_GLOBAL_DATA_PTR;
#endif
extern ulong __init_end;
-extern ulong __bss_end__;
+extern ulong __bss_end;
ulong monitor_flash_len;
#if defined(CONFIG_CMD_BEDBUG)
@@ -419,7 +419,7 @@ void board_init_f(ulong bootflag)
* - monitor code
* - board info struct
*/
- len = (ulong)&__bss_end__ - CONFIG_SYS_MONITOR_BASE;
+ len = (ulong)&__bss_end - CONFIG_SYS_MONITOR_BASE;
/*
* Subtract specified amount of memory to hide so that it won't