summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-02-08 14:10:45 -0500
committerTom Rini <[email protected]>2023-02-08 14:59:13 -0500
commitd1f5dbe6645ad51e318dd322033fe6a08bce357b (patch)
tree4ac3ecd1f78009efcb8a91fdece387aad2b4dc0d /lib
parent94fe4ed9455d559ccca45865c195fe4ecdaffb51 (diff)
parent2dc16a2c1f924985216b3f1d6710f96d6c4fb1ab (diff)
Merge branch '2023-02-08-increase-default-LMB-regions'
- Correct my mistake with defaulting to not setting LMB_USE_MAX_REGIONS, and fix the lmb test to scale with more than 8 regions before setting the new default to 16 regions. This doesn't strictly fix all issues, but puts us ahead of where we were.
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 59e4304afd1..06c873c2bd2 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1028,6 +1028,7 @@ config LMB
config LMB_USE_MAX_REGIONS
bool "Use a common number of memory and reserved regions in lmb lib"
depends on LMB
+ default y
help
Define the number of supported memory regions in the library logical
memory blocks.
@@ -1037,7 +1038,7 @@ config LMB_USE_MAX_REGIONS
config LMB_MAX_REGIONS
int "Number of memory and reserved regions in lmb lib"
depends on LMB && LMB_USE_MAX_REGIONS
- default 8
+ default 16
help
Define the number of supported regions, memory and reserved, in the
library logical memory blocks.