aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2022-09-04 21:58:03 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-09-06 10:04:16 +0000
commit21ddf55a4324ae616cd294b411023d73c3511bc6 (patch)
treed833758854aefaa3bc3537186c5b28d9bc18e4ef
parent8a3f5a1d0b4a097c85cf6d1de5075219ad9efc3b (diff)
allocator_v4: Disable top-down mode by default
The top-down allocation feature was merged prematurely before platforms that don't report their resources correctly were fixed. Let's turn it off by default. Change-Id: I982e6d7355b9e689de10357d6c16ed718705270e Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67328 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Christian Walter <christian.walter@9elements.com>
-rw-r--r--src/device/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index af9beb32f5..b9284cbcb3 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -935,8 +935,11 @@ config RESOURCE_ALLOCATOR_V4
config RESOURCE_ALLOCATION_TOP_DOWN
bool "Allocate resources from top down"
- default y
+ default n
depends on RESOURCE_ALLOCATOR_V4
+ help
+ Should be the default, but many platforms don't report resources
+ correctly. Hence, the allocator might cause conflicts.
config XHCI_UTILS
def_bool n