summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2015-02-08 20:06:05 +0100
committerLuka Perkov <luka.perkov@sartura.hr>2015-02-12 15:28:02 +0100
commitbc2ad9f04dd9d15e7134f7e1b6386d1995772d69 (patch)
treecf57aa79a15b237dec2bee5bcdd752c0d3a7bdf6
parentbd2a4888b123713adec271d6c8040ca9f609aa2f (diff)
downloadu-boot-imx-bc2ad9f04dd9d15e7134f7e1b6386d1995772d69.zip
u-boot-imx-bc2ad9f04dd9d15e7134f7e1b6386d1995772d69.tar.gz
u-boot-imx-bc2ad9f04dd9d15e7134f7e1b6386d1995772d69.tar.bz2
lsxl: use default load addresses for legacy boot
The load addresses for the bootcmd_legacy script were taken from the original bootloader from Buffalo. But newer kernels are too big and the uncompressing will overwrite parts of the initial ramdisk. Therefore, we switch to the load addresses which are also used by the other boot script. Signed-off-by: Michael Walle <michael@walle.cc>
-rw-r--r--include/configs/lsxl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h
index a14bfe3..6c8e369 100644
--- a/include/configs/lsxl.h
+++ b/include/configs/lsxl.h
@@ -127,9 +127,9 @@
"ramdisk_addr=0x01000000\0" \
"fdt_addr=0x01ff0000\0" \
"bootcmd_legacy=ide reset " \
- "&& load ide ${hdpart} 0x00100000 /uImage.buffalo " \
- "&& load ide ${hdpart} 0x00800000 /initrd.buffalo " \
- "&& bootm 0x00100000 0x00800000\0" \
+ "&& load ide ${hdpart} ${kernel_addr} /uImage.buffalo " \
+ "&& load ide ${hdpart} ${ramdisk_addr} /initrd.buffalo "\
+ "&& bootm ${kernel_addr} ${ramdisk_addr}\0" \
"bootcmd_net=bootp ${kernel_addr} uImage " \
"&& tftpboot ${ramdisk_addr} uInitrd " \
"&& tftpboot ${fdt_addr} " CONFIG_FDTFILE " " \