summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/u-boot-mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/u-boot-mips.h')
-rw-r--r--arch/mips/include/asm/u-boot-mips.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/include/asm/u-boot-mips.h b/arch/mips/include/asm/u-boot-mips.h
index 6f26dfa..eda0498 100644
--- a/arch/mips/include/asm/u-boot-mips.h
+++ b/arch/mips/include/asm/u-boot-mips.h
@@ -8,4 +8,16 @@
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;
+}
+
extern int incaip_set_cpuclk(void);