From: Patrick DELAUNAY Date: Fri, 14 Feb 2020 12:36:57 +0000 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: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > From: Patrick DELAUNAY > Sent: lundi 10 f?vrier 2020 11:54 > > 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 > --- Applied to u-boot-stm32/master, thanks! Regards Patrick