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>
diff --git a/src/device/Kconfig b/src/device/Kconfig
index af9beb3..b9284cb 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -935,8 +935,11 @@
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