diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-26 02:08:23 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-06 20:07:18 +0300 |
commit | 007ae5d108a37564905ea1588cb279f3a522cc3d (patch) | |
tree | 7a8b8e56acea58ebf899453d0398b4b4aeaf3c5f /configs/mt7986a_bpir3_sd_defconfig | |
parent | f8f47e6ff214a3ba7a61025bcc4dc058f507c279 (diff) | |
download | u-boot-007ae5d108a37564905ea1588cb279f3a522cc3d.tar.xz |
lmb: Default to not-LMB_USE_MAX_REGIONS
The LMB code allows for picking a hard limit on the number of regions it
can know of, or to dynamically allocate these regions. The reason for
this choice is to allow for the compiler to perform a size optimization
in the common case. This optimization however, is very small, ranging
from 196 bytes to 15 bytes saved, or in some cases, being larger. Now
that we also have more regions covered by LMB (in order to protect
various parts of our self at run time), the default of 8 is also much
easier to hit and leads to non-obvious error messages (which imply that
an area is protected, not that we're out of areas to add to the list).
Switch to the dynamic use as the default.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/mt7986a_bpir3_sd_defconfig')
-rw-r--r-- | configs/mt7986a_bpir3_sd_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/mt7986a_bpir3_sd_defconfig b/configs/mt7986a_bpir3_sd_defconfig index 08edfe7ac4..db7ef98d80 100644 --- a/configs/mt7986a_bpir3_sd_defconfig +++ b/configs/mt7986a_bpir3_sd_defconfig @@ -62,4 +62,3 @@ CONFIG_MTK_SERIAL=y CONFIG_FAT_WRITE=y CONFIG_HEXDUMP=y # CONFIG_EFI_LOADER is not set -CONFIG_LMB_MAX_REGIONS=64 |