summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-05 14:39:39 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:13:58 -0400
commit716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee (patch)
treeb9ddba60a4f8ee455a7a70b388fbbf70b41670d7 /arch/mips
parente103b7ae903dffc8e35cd676c1a72712dec14382 (diff)
downloadtalos-obmc-uboot-716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee.tar.gz
talos-obmc-uboot-716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee.zip
Change stub example to use asm-generic/sections.h
We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/u-boot-mips.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/u-boot-mips.h b/arch/mips/include/asm/u-boot-mips.h
index a483166a9c..e77636eaaf 100644
--- a/arch/mips/include/asm/u-boot-mips.h
+++ b/arch/mips/include/asm/u-boot-mips.h
@@ -7,7 +7,7 @@
static inline unsigned long bss_start(void)
{
- extern ulong __bss_start;
+ extern char __bss_start[];
return (unsigned long) &__bss_start;
}
@@ -19,7 +19,7 @@ static inline unsigned long bss_end(void)
static inline unsigned long image_copy_end(void)
{
- extern ulong __image_copy_end;
+ extern char __image_copy_end[];
return (unsigned long) &__image_copy_end;
}
OpenPOWER on IntegriCloud