summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-02-12 22:22:12 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-02-12 22:22:12 +0100
commit3420bf1ca0631ef6347fece1e9f0eb38b1051a98 (patch)
tree2c326211983ea8c1edb3bb412a18bd3759412f0a /arch/mips/include/asm
parenta52852c5a65fe6636c7408829eced892deefc1de (diff)
downloadu-boot-imx-3420bf1ca0631ef6347fece1e9f0eb38b1051a98.zip
u-boot-imx-3420bf1ca0631ef6347fece1e9f0eb38b1051a98.tar.gz
u-boot-imx-3420bf1ca0631ef6347fece1e9f0eb38b1051a98.tar.bz2
MIPS: u-boot.lds: introduce symbol __image_copy_end
This symbol is used in later patches as end address for relocation of the U-Boot image into RAM. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/u-boot-mips.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/u-boot-mips.h b/arch/mips/include/asm/u-boot-mips.h
index eda0498..bfb6a4a 100644
--- a/arch/mips/include/asm/u-boot-mips.h
+++ b/arch/mips/include/asm/u-boot-mips.h
@@ -20,4 +20,10 @@ static inline unsigned long bss_end(void)
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);