configs: set CONFIG_LMB_MAX_REGIONS=64 for MT7988 boards
authorDaniel Golle <daniel@makrotopia.org>
Mon, 21 Aug 2023 19:38:23 +0000 (20:38 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2023 19:59:22 +0000 (15:59 -0400)
commitdcde1f95bfa6d634f0cf7b7c0f6f71b3c08c6fa2
treeda208756f3738aea159ef6617f403901c531dc58
parentb982a850d04c1fac04df676b28d93ad26f6984d0
configs: set CONFIG_LMB_MAX_REGIONS=64 for MT7988 boards

Similar to MT7981 and MT7986 also MT7988 can have a high number of
reserved-memory regions used by the various hardware offloading
subsystems.

Raise CONFIG_LMB_MAX_REGIONS to 64 to avoid errors when trying to boot
Linux with more then 6 reserved regions:

ERROR: reserving fdt memory region failed (addr=4f700000 size=240000 flags=4)
ERROR: reserving fdt memory region failed (addr=15194000 size=1000 flags=4)
ERROR: reserving fdt memory region failed (addr=15294000 size=1000 flags=4)
ERROR: reserving fdt memory region failed (addr=15394000 size=1000 flags=4)
ERROR: Failed to allocate 0xb161 bytes below 0x80000000.
device tree - allocation error

Fixes: bc4adc97cfb ("board: mediatek: add MT7988 reference boards")
Reported-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
configs/mt7988_rfb_defconfig
configs/mt7988_sd_rfb_defconfig