mb/*: Specify type of `OVERRIDE_DEVICETREE` once

Specify the type of the `OVERRIDE_DEVICETREE` Kconfig symbol once
instead of doing so on each and every mainboard.

Change-Id: I4cbf4e318a30f0cf75aa8690e7454b9caa115c9d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56556
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2021-07-23 11:29:36 +02:00 committed by Felix Held
parent 924546be17
commit 8905ecbcfa
42 changed files with 0 additions and 42 deletions

View File

@ -33,7 +33,6 @@ config MAINBOARD_PART_NUMBER
default "P8H61-M PRO CM6630" if BOARD_ASUS_P8H61_M_PRO_CM6630 default "P8H61-M PRO CM6630" if BOARD_ASUS_P8H61_M_PRO_CM6630
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config CMOS_DEFAULT_FILE config CMOS_DEFAULT_FILE

View File

@ -46,7 +46,6 @@ config VARIANT_DIR
default "p3b-f" if BOARD_ASUS_P3B_F default "p3b-f" if BOARD_ASUS_P3B_F
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config IRQ_SLOT_COUNT config IRQ_SLOT_COUNT

View File

@ -32,7 +32,6 @@ config MAINBOARD_PART_NUMBER
default "P5G41T-M LX" if BOARD_ASUS_P5G41T_M_LX default "P5G41T-M LX" if BOARD_ASUS_P5G41T_M_LX
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
# Override the default variant behavior, since the data.vbt is the same # Override the default variant behavior, since the data.vbt is the same

View File

@ -34,7 +34,6 @@ config MAINBOARD_PART_NUMBER
default "P8Z77-V" if BOARD_ASUS_P8Z77_V default "P8Z77-V" if BOARD_ASUS_P8Z77_V
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config CMOS_DEFAULT_FILE config CMOS_DEFAULT_FILE

View File

@ -29,7 +29,6 @@ config MAINBOARD_PART_NUMBER
default "G41M/G41M-S/G41M-V" if BOARD_FOXCONN_G41M default "G41M/G41M-S/G41M-V" if BOARD_FOXCONN_G41M
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
endif # BOARD_FOXCONN_G41S_K endif # BOARD_FOXCONN_G41S_K

View File

@ -40,7 +40,6 @@ config MAINBOARD_PART_NUMBER
default "GA-B75-D3V" if BOARD_GIGABYTE_GA_B75_D3V default "GA-B75-D3V" if BOARD_GIGABYTE_GA_B75_D3V
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if BOARD_GIGABYTE_GA_B75_D3V default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if BOARD_GIGABYTE_GA_B75_D3V
# Override the default variant behavior, since the data.vbt is the same # Override the default variant behavior, since the data.vbt is the same

View File

@ -33,7 +33,6 @@ config MAINBOARD_PART_NUMBER
default "GA-H61MA-D3V" if BOARD_GIGABYTE_GA_H61MA_D3V default "GA-H61MA-D3V" if BOARD_GIGABYTE_GA_H61MA_D3V
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
# Override the default variant behavior, since the data.vbt is the same # Override the default variant behavior, since the data.vbt is the same

View File

@ -45,7 +45,6 @@ config MAINBOARD_PART_NUMBER
default "Samus" if BOARD_GOOGLE_SAMUS default "Samus" if BOARD_GOOGLE_SAMUS
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config EC_GOOGLE_CHROMEEC_BOARDNAME config EC_GOOGLE_CHROMEEC_BOARDNAME

View File

@ -57,7 +57,6 @@ config TPM_TIS_ACPI_INTERRUPT
default 13 # GPE0_DW0_13 (GPP_A13_IRQ) default 13 # GPE0_DW0_13 (GPP_A13_IRQ)
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_DIR config MAINBOARD_DIR

View File

@ -68,7 +68,6 @@ config MAINBOARD_PART_NUMBER
default "Wizpig" if BOARD_GOOGLE_WIZPIG default "Wizpig" if BOARD_GOOGLE_WIZPIG
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config CBFS_SIZE config CBFS_SIZE

View File

@ -118,7 +118,6 @@ config MAX_CPUS
default 4 default 4
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_DEDEDE default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_DEDEDE
config UART_FOR_CONSOLE config UART_FOR_CONSOLE

View File

@ -48,7 +48,6 @@ config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if BOARD_GOOGLE_DELTAUR default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if BOARD_GOOGLE_DELTAUR
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config POWER_OFF_ON_CR50_UPDATE config POWER_OFF_ON_CR50_UPDATE

View File

@ -33,7 +33,6 @@ config DEVICETREE
default "variants/baseboard/devicetree.cb" default "variants/baseboard/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config VBOOT config VBOOT

View File

@ -60,7 +60,6 @@ config VARIANT_DIR
default "sentry" if BOARD_GOOGLE_SENTRY default "sentry" if BOARD_GOOGLE_SENTRY
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config TPM_PIRQ config TPM_PIRQ

View File

@ -110,7 +110,6 @@ config DEVICETREE
default "variants/baseboard/devicetree.cb" default "variants/baseboard/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_FAMILY config MAINBOARD_FAMILY

View File

@ -137,7 +137,6 @@ config MAINBOARD_PART_NUMBER
default "Scout" if BOARD_GOOGLE_SCOUT default "Scout" if BOARD_GOOGLE_SCOUT
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/helios_diskswap/overridetree.cb" if BOARD_GOOGLE_HELIOS_DISKSWAP default "variants/helios_diskswap/overridetree.cb" if BOARD_GOOGLE_HELIOS_DISKSWAP
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"

View File

@ -92,7 +92,6 @@ config DEVICETREE
default "variants/baseboard/devicetree.cb" default "variants/baseboard/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_FAMILY config MAINBOARD_FAMILY

View File

@ -71,7 +71,6 @@ config DEVICETREE
default "variants/baseboard/devicetree.cb" default "variants/baseboard/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_OCTOPUS default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_OCTOPUS
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER

View File

@ -64,7 +64,6 @@ config MAINBOARD_PART_NUMBER
default "Winky" if BOARD_GOOGLE_WINKY default "Winky" if BOARD_GOOGLE_WINKY
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config EC_GOOGLE_CHROMEEC_BOARDNAME config EC_GOOGLE_CHROMEEC_BOARDNAME

View File

@ -47,7 +47,6 @@ config MAINBOARD_FAMILY
default "Google_Slippy" default "Google_Slippy"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config VGA_BIOS_FILE config VGA_BIOS_FILE

View File

@ -65,7 +65,6 @@ config DEVICETREE
default "variants/baseboard/devicetree.cb" default "variants/baseboard/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config DRIVER_TPM_SPI_BUS config DRIVER_TPM_SPI_BUS

View File

@ -94,7 +94,6 @@ config DEVICETREE
default "variants/baseboard/devicetree_dalboz.cb" if BOARD_GOOGLE_BASEBOARD_DALBOZ default "variants/baseboard/devicetree_dalboz.cb" if BOARD_GOOGLE_BASEBOARD_DALBOZ
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_FAMILY config MAINBOARD_FAMILY

View File

@ -43,7 +43,6 @@ config MAINBOARD_PART_NUMBER
default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1 default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config VGA_BIOS_FILE config VGA_BIOS_FILE

View File

@ -63,7 +63,6 @@ config DEVICETREE
default "devicetree.cb" default "devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config DIMM_SPD_SIZE config DIMM_SPD_SIZE

View File

@ -58,7 +58,6 @@ config DEVICETREE
default "variants/baseboard/devicetree.cb" default "variants/baseboard/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config FMDFILE config FMDFILE

View File

@ -49,7 +49,6 @@ config DEVICETREE
default "variants/baseboard/devicetree.cb" default "variants/baseboard/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config IFD_BIN_PATH config IFD_BIN_PATH

View File

@ -45,7 +45,6 @@ config VARIANT_DIR
default "boxer26" if BOARD_SIEMENS_BOXER26 default "boxer26" if BOARD_SIEMENS_BOXER26
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config CBFS_SIZE config CBFS_SIZE

View File

@ -49,7 +49,6 @@ config DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "carriers/\$(CONFIG_CARRIER_DIR)/overridetree.cb" default "carriers/\$(CONFIG_CARRIER_DIR)/overridetree.cb"
endif endif

View File

@ -63,7 +63,6 @@ config MAINBOARD_PART_NUMBER
default "ThinkPad W500" if BOARD_LENOVO_W500 default "ThinkPad W500" if BOARD_LENOVO_W500
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config USBDEBUG_HCD_INDEX config USBDEBUG_HCD_INDEX

View File

@ -61,7 +61,6 @@ config MAINBOARD_PART_NUMBER
default "ThinkPad T431s" if BOARD_LENOVO_T431S default "ThinkPad T431s" if BOARD_LENOVO_T431S
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config USBDEBUG_HCD_INDEX config USBDEBUG_HCD_INDEX

View File

@ -51,7 +51,6 @@ config MAINBOARD_DIR
default "lenovo/t520" default "lenovo/t520"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config FMDFILE config FMDFILE

View File

@ -56,7 +56,6 @@ config MAINBOARD_DIR
default "lenovo/t530" default "lenovo/t530"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER

View File

@ -32,7 +32,6 @@ config VARIANT_DIR
default "z61t" if BOARD_LENOVO_Z61T default "z61t" if BOARD_LENOVO_Z61T
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER

View File

@ -55,7 +55,6 @@ config MAINBOARD_PART_NUMBER
default "ThinkPad X301" if BOARD_LENOVO_X301 default "ThinkPad X301" if BOARD_LENOVO_X301
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config USBDEBUG_HCD_INDEX config USBDEBUG_HCD_INDEX

View File

@ -59,7 +59,6 @@ config MAINBOARD_PART_NUMBER
default "ThinkPad X1" if BOARD_LENOVO_X1 default "ThinkPad X1" if BOARD_LENOVO_X1
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config USBDEBUG_HCD_INDEX config USBDEBUG_HCD_INDEX

View File

@ -62,7 +62,6 @@ config MAINBOARD_PART_NUMBER
default "ThinkPad X230s" if BOARD_LENOVO_X230S default "ThinkPad X230s" if BOARD_LENOVO_X230S
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config USBDEBUG_HCD_INDEX config USBDEBUG_HCD_INDEX

View File

@ -53,7 +53,6 @@ config MAX_CPUS
default 16 default 16
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config CONSOLE_POST config CONSOLE_POST

View File

@ -22,7 +22,6 @@ config VARIANT_DIR
default "fw4b" if BOARD_PROTECTLI_FW4B default "fw4b" if BOARD_PROTECTLI_FW4B
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER

View File

@ -18,7 +18,6 @@ config VARIANT_DIR
default "librem15v2" if BOARD_PURISM_LIBREM15_V2 default "librem15v2" if BOARD_PURISM_LIBREM15_V2
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config DRIVERS_UART_8250IO config DRIVERS_UART_8250IO

View File

@ -42,7 +42,6 @@ config MAINBOARD_DIR
default "purism/librem_skl" default "purism/librem_skl"
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config VGA_BIOS_ID config VGA_BIOS_ID

View File

@ -37,7 +37,6 @@ config VARIANT_DIR
default "x11ssh-f" if BOARD_SUPERMICRO_X11SSH_F default "x11ssh-f" if BOARD_SUPERMICRO_X11SSH_F
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config VBOOT config VBOOT

View File

@ -30,7 +30,6 @@ config VARIANT_DIR
default "darp5" if BOARD_SYSTEM76_DARP5 default "darp5" if BOARD_SYSTEM76_DARP5
config OVERRIDE_DEVICETREE config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER