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/starqltechn_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/starqltechn_defconfig')
-rw-r--r-- | configs/starqltechn_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/starqltechn_defconfig b/configs/starqltechn_defconfig index 7a64f2a7a0..81fd7b2267 100644 --- a/configs/starqltechn_defconfig +++ b/configs/starqltechn_defconfig @@ -33,4 +33,3 @@ CONFIG_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_VIDEO_SIMPLE=y CONFIG_VIDEO_DT_SIMPLEFB=y -CONFIG_LMB_MAX_REGIONS=64 |