提交 3420bf1c 编写于 作者: D Daniel Schwierzeck

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: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
上级 a52852c5
......@@ -70,6 +70,8 @@ SECTIONS
uboot_end_data = .;
. = ALIGN(4);
__image_copy_end = .;
.bss : {
__bss_start = .;
*(.sbss.*)
......
......@@ -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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册