From: Tom Rini Date: Mon, 10 Feb 2020 10:10:58 -0500 Subject: [PATCH] stm32mp1: remove fdt_high and initrd_high in environment In-Reply-To: <20200210115346.1.I82bc82f60e739674bce1015b8a7906d3852f0b93@changeid> References: <20200210115346.1.I82bc82f60e739674bce1015b8a7906d3852f0b93@changeid> Message-ID: <20200210151058.GM13379@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Feb 10, 2020 at 11:54:11AM +0100, Patrick Delaunay wrote: > Remove fdt_high and initrd_high (set to 0xffffffff) in stm32mp1 board > enviromnent, and U-Boot always relocate FDT and initrd in bootm command. > > This relocation is limited by CONFIG_SYS_BOOTMAPSZ which indicates > the size of the memory region where it is safe to place data passed > to the Linux kernel (DTB, initrd), it is > a) Less than or equal to RAM size. > b) not within the kernel's highmem region > > So 256M seems large enough in most circumstances and users > can override this value via environment variable "bootm_mapsize" > if needed. > > This modification increases the boot time but avoid assumption > on aligned address for bootm command. > > A user can still define this variables themselves if the FDT or > initrd is either left in-place or copied to a specific location. > > Signed-off-by: Patrick Delaunay Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: