[PATCH 1/3] Bump LMB_MAX_REGIONS default to 16

Tom Rini trini at konsulko.com
Thu Jan 26 19:28:19 CET 2023


On Thu, Jan 19, 2023 at 09:38:17AM +0100, Sjoerd Simons wrote:

> Since commit 06d514d77c37 ("lmb: consider EFI memory map") the EFI regions
> are also pushed into the lmb if EFI_LOADER is enabled (which is by
> default on most system). Which can cause the number of entries to go
> over the maximum as it's default is only 8.
> 
> Specifically i ran into this case on an TI am62 which has an fdt with
> 4 reserved regions (in practice 3 lmb entries due to adjecent ranges).
> 
> As this is likely to impact more devices bump the default max
> regions to 16 so there is a bit more slack.
> 
> Signed-off-by: Sjoerd Simons <sjoerd at collabora.com>

I prefer to use:
https://patchwork.ozlabs.org/project/uboot/patch/20230125230823.1567778-1-trini@konsulko.com/
in this case due to it being overall a smaller size increase.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230126/638a1357/attachment.sig>


More information about the U-Boot mailing list