unicore32: change zImage physical address, though it's PIC codes
U-boot will load the kernel image to 48M physical memory address. The patch changes it to the correct address, though it's PIC codes. Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
2809e80b8a
commit
f4728fd21f
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ $(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/head.o $(obj)/piggy.o \
|
||||||
# We now have a PIC decompressor implementation. Decompressors running
|
# We now have a PIC decompressor implementation. Decompressors running
|
||||||
# from RAM should not define ZTEXTADDR. Decompressors running directly
|
# from RAM should not define ZTEXTADDR. Decompressors running directly
|
||||||
# from ROM or Flash must define ZTEXTADDR (preferably via the config)
|
# from ROM or Flash must define ZTEXTADDR (preferably via the config)
|
||||||
ZTEXTADDR := 0
|
ZTEXTADDR := 0x03000000
|
||||||
ZBSSADDR := ALIGN(4)
|
ZBSSADDR := ALIGN(4)
|
||||||
|
|
||||||
SEDFLAGS_lds = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
|
SEDFLAGS_lds = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
|
||||||
|
|
Loading…
Reference in a new issue