Reorder arch & vendorcode in Kconfig
Because Kconfig uses the first valid default that it comes across, the 'source' commands to load sub-Kconfigs should be ordered from the most specific (mainboards) to less specific (chipsets) to least specific (architectures). This allows the mainboards to override chipsets and architecture Kconfig files. Because the architecture files were getting loaded ahead of the chipset and cpu Kconfigs, the preferred defaults values for things such as NUM_IPI_STARTS or RISCV_BOOTBLOCK_CUSTOM could not be set. Change-Id: Ic327452833f012ec06dabb5b5ef661aba3aff464 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: http://review.coreboot.org/10609 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Duncan Laurie <dlaurie@google.com>
This commit is contained in:
parent
eb22da0e4d
commit
e1523ecaa1
|
@ -334,10 +334,6 @@ source "src/acpi/Kconfig"
|
|||
|
||||
source "src/mainboard/Kconfig"
|
||||
|
||||
source "src/arch/*/Kconfig"
|
||||
|
||||
source "src/vendorcode/*/Kconfig"
|
||||
|
||||
config SYSTEM_TYPE_LAPTOP
|
||||
default n
|
||||
bool
|
||||
|
@ -359,6 +355,9 @@ source "src/ec/acpi/Kconfig"
|
|||
source "src/ec/*/*/Kconfig"
|
||||
source "src/drivers/intel/fsp1_0/Kconfig"
|
||||
|
||||
source "src/vendorcode/*/Kconfig"
|
||||
source "src/arch/*/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
source "src/device/Kconfig"
|
||||
|
|
Loading…
Reference in New Issue