]> Git Repo - u-boot.git/commit
Bump LMB_MAX_REGIONS default to 16
authorSjoerd Simons <[email protected]>
Thu, 19 Jan 2023 08:38:17 +0000 (09:38 +0100)
committerTom Rini <[email protected]>
Wed, 8 Feb 2023 19:09:39 +0000 (14:09 -0500)
commit2dc16a2c1f924985216b3f1d6710f96d6c4fb1ab
tree4ac3ecd1f78009efcb8a91fdece387aad2b4dc0d
parent1975a3b1f66e27ec9004213bb3d8c5f2f67b10c1
Bump LMB_MAX_REGIONS default to 16

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.

Fixes: 06d514d77c ("lmb: consider EFI memory map")
Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1207562
Reviewed-by: Francesco Dolcini <[email protected]>
Signed-off-by: Sjoerd Simons <[email protected]>
Signed-off-by: Michal Suchanek <[email protected]>
[trini: collect tags from the other equivalent patch]
lib/Kconfig
This page took 0.034935 seconds and 4 git commands to generate.