summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/u-boot-mips.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-02-12 19:03:59 -0500
committerTom Rini <trini@ti.com>2013-02-12 19:03:59 -0500
commit9c748e02d99476e6a08d55eadfd8776edffe1e2e (patch)
tree74018fa9cefe7428a49b398355885b840687cf32 /arch/mips/include/asm/u-boot-mips.h
parent1634e969189ea428bc5fb9cf7d70bb314c98fc4f (diff)
parent04380c651a2ff0d1495822321d2b7668dcd02537 (diff)
downloadu-boot-imx-9c748e02d99476e6a08d55eadfd8776edffe1e2e.zip
u-boot-imx-9c748e02d99476e6a08d55eadfd8776edffe1e2e.tar.gz
u-boot-imx-9c748e02d99476e6a08d55eadfd8776edffe1e2e.tar.bz2
Merge branch 'next' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips/include/asm/u-boot-mips.h')
-rw-r--r--arch/mips/include/asm/u-boot-mips.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/arch/mips/include/asm/u-boot-mips.h b/arch/mips/include/asm/u-boot-mips.h
index 6f26dfa..a483166 100644
--- a/arch/mips/include/asm/u-boot-mips.h
+++ b/arch/mips/include/asm/u-boot-mips.h
@@ -5,7 +5,22 @@
* Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
*/
-extern ulong uboot_end_data;
-extern ulong uboot_end;
+static inline unsigned long bss_start(void)
+{
+ extern ulong __bss_start;
+ return (unsigned long) &__bss_start;
+}
+
+static inline unsigned long bss_end(void)
+{
+ extern ulong __bss_end;
+ return (unsigned long) &__bss_end;
+}
+
+static inline unsigned long image_copy_end(void)
+{
+ extern ulong __image_copy_end;
+ return (unsigned long) &__image_copy_end;
+}
extern int incaip_set_cpuclk(void);