apalis/colibri_imx6/imx6ull: make sure loadaddr does not collide
Currently $loadaddr and $fdt_addr_r point to the same address. This might be not ideal for some distro boot scripts which make use of $loadaddr after loading the device tree. Make sure the two variables point to two different addresses. Moving $loadaddr is not entirly trivial since it is defined in mx6_common.h. Move $fdt_addr_r and $ramdisk_addr_r by 1MiB, which should be enough for scripts. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
This commit is contained in:
parent
1560e12eff
commit
ce30382b49
include/configs
@ -138,12 +138,12 @@
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
"bootm_size=0x20000000\0" \
|
||||
"fdt_addr_r=0x12000000\0" \
|
||||
"fdt_addr_r=0x12100000\0" \
|
||||
"fdt_high=0xffffffff\0" \
|
||||
"initrd_high=0xffffffff\0" \
|
||||
"kernel_addr_r=0x11000000\0" \
|
||||
"pxefile_addr_r=0x17100000\0" \
|
||||
"ramdisk_addr_r=0x12100000\0" \
|
||||
"ramdisk_addr_r=0x12200000\0" \
|
||||
"scriptaddr=0x17000000\0"
|
||||
|
||||
#define NFS_BOOTCMD \
|
||||
|
@ -48,12 +48,12 @@
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
"bootm_size=0x10000000\0" \
|
||||
"fdt_addr_r=0x82000000\0" \
|
||||
"fdt_addr_r=0x82100000\0" \
|
||||
"fdt_high=0xffffffff\0" \
|
||||
"initrd_high=0xffffffff\0" \
|
||||
"kernel_addr_r=0x81000000\0" \
|
||||
"pxefile_addr_r=0x87100000\0" \
|
||||
"ramdisk_addr_r=0x82100000\0" \
|
||||
"ramdisk_addr_r=0x82200000\0" \
|
||||
"scriptaddr=0x87000000\0"
|
||||
|
||||
#define NFS_BOOTCMD \
|
||||
|
@ -128,12 +128,12 @@
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
"bootm_size=0x10000000\0" \
|
||||
"fdt_addr_r=0x12000000\0" \
|
||||
"fdt_addr_r=0x12100000\0" \
|
||||
"fdt_high=0xffffffff\0" \
|
||||
"initrd_high=0xffffffff\0" \
|
||||
"kernel_addr_r=0x11000000\0" \
|
||||
"pxefile_addr_r=0x17100000\0" \
|
||||
"ramdisk_addr_r=0x12100000\0" \
|
||||
"ramdisk_addr_r=0x12200000\0" \
|
||||
"scriptaddr=0x17000000\0"
|
||||
|
||||
#define NFS_BOOTCMD \
|
||||
|
Loading…
Reference in New Issue
Block a user