MA-16594-1 Set dtb load offset in bootloader
authorJi Luo <ji.luo@nxp.com>
Thu, 5 Mar 2020 07:41:06 +0000 (15:41 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:18 +0000 (09:49 +0800)
commitb48c03f3d925cb48385d3f9970c5e06b99fb527d
treef67430a42a328d8ae29ab8d8258ce869df4022ce
parente85a5f856e7819eff2c4ba8da9490a03f5edd346
MA-16594-1 Set dtb load offset in bootloader

This commit sets the dtb load address in bootloader, the
dtb load address would be 'kernel_addr + FDT_OFFSET_TO_KERNEL'.

For imx8m, this commit will reserve 64MB for kernel, 2MB for fdt
and 16MB for ramdisk. For imx8q, this commit will reserve 60MB for
kernel, 1.5MB for fdt and 16MB for ramdisk.

This commit is a merge of below commits:
  f581f72be1 MA-16594-1 Set dtb load offset in bootloader
  207f813b2d MA-16668-2 Fix kernel hang after enabling debug configs
  42cdd5ef6d MA-16939-1 correct reserved space for kernel image for non-imx8 SoC

Change-Id: Ie597731992107ec2343e5ab6db0cab0e123f009c
Signed-off-by: Ji Luo <ji.luo@nxp.com>
drivers/fastboot/fb_fsl/fb_fsl_boot.c