ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address
authorAdam Ford <aford173@gmail.com>
Thu, 20 Aug 2020 13:56:49 +0000 (08:56 -0500)
committerStefano Babic <sbabic@denx.de>
Tue, 25 Aug 2020 08:26:31 +0000 (10:26 +0200)
commit74d8f9d56266773784be2cecb5f52a573b1d060c
treef263a7f2e9d6611869d7b0cd6527820c5242fb46
parent821a987fec3c2ad660e73c6cb2827c57bd08b880
ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

The loading address is too close to the kernel address, so newer kernels
may overlap memory space, so loading the device tree may corrupt zImage.

This patch moves the fdt_addr_r to 0x14000000 which is also consistent
with guidance that the kernel be allocated 32MB.  This places it
in the same place as the ramdisk, so this patch moves the ramdisk address
512KB after the fdt.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
include/configs/imx6_logic.h