mb/*/Kconfig: Factor out MAINBOARD_VENDOR

Only some mainboard vendors have a prompt for this option. Let's be fair
and give this ability to everyone.

Change-Id: I03eec7c13d18b42e3c56fb1a43dc665d5dbd1145
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39179
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Angel Pons 2020-03-01 13:07:19 +01:00 committed by Patrick Georgi
parent 3e576739c9
commit 7671bce33b
43 changed files with 13 additions and 43 deletions

View File

@ -10,6 +10,9 @@ endchoice
source "src/mainboard/*/Kconfig" source "src/mainboard/*/Kconfig"
config MAINBOARD_VENDOR
string "Mainboard vendor name"
config BOARD_ROMSIZE_KB_64 config BOARD_ROMSIZE_KB_64
bool bool
config BOARD_ROMSIZE_KB_128 config BOARD_ROMSIZE_KB_128

View File

@ -4,7 +4,6 @@ comment "see under vendor LiPPERT"
# any further boards will then be ADLINK # any further boards will then be ADLINK
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "ADLINK" default "ADLINK"
endif # VENDOR_ADLINK endif # VENDOR_ADLINK

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/amd/*/Kconfig" source "src/mainboard/amd/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "AMD" default "AMD"
endif # VENDOR_AMD endif # VENDOR_AMD

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/aopen/*/Kconfig" source "src/mainboard/aopen/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "AOpen" default "AOpen"
endif # VENDOR_AOPEN endif # VENDOR_AOPEN

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/apple/*/Kconfig" source "src/mainboard/apple/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Apple" default "Apple"
endif # VENDOR_APPLE endif # VENDOR_APPLE

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_ASROCK if VENDOR_ASROCK
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/asrock/*/Kconfig" source "src/mainboard/asrock/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "ASROCK" default "ASROCK"
endif # VENDOR_ASROCK endif # VENDOR_ASROCK

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_ASUS if VENDOR_ASUS
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/asus/*/Kconfig" source "src/mainboard/asus/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "ASUS" default "ASUS"
endif # VENDOR_ASUS endif # VENDOR_ASUS

View File

@ -29,7 +29,6 @@ endchoice
source "src/mainboard/bap/*/Kconfig" source "src/mainboard/bap/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "BAP" default "BAP"
endif # VENDOR_BAP endif # VENDOR_BAP

View File

@ -13,6 +13,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_BIOSTAR if VENDOR_BIOSTAR
choice choice
@ -26,7 +27,6 @@ source "src/mainboard/biostar/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Biostar" default "Biostar"
endif # VENDOR_BIOSTAR endif # VENDOR_BIOSTAR

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_CAVIUM if VENDOR_CAVIUM
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/cavium/*/Kconfig" source "src/mainboard/cavium/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string "Mainboard Vendor"
default "Cavium" default "Cavium"
endif # VENDOR_CAVIUM endif # VENDOR_CAVIUM

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/compulab/*/Kconfig" source "src/mainboard/compulab/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "CompuLab" default "CompuLab"
endif # VENDOR_COMPULAB endif # VENDOR_COMPULAB

View File

@ -13,7 +13,6 @@ endchoice
source "src/mainboard/elmex/*/Kconfig" source "src/mainboard/elmex/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "ELMEX" default "ELMEX"
endif # VENDOR_ELMEX endif # VENDOR_ELMEX

View File

@ -16,7 +16,6 @@ config BOARD_EMULATION_QEMU_X86
source "src/mainboard/emulation/*/Kconfig" source "src/mainboard/emulation/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Emulation" default "Emulation"
endif # VENDOR_EMULATION endif # VENDOR_EMULATION

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/facebook/*/Kconfig" source "src/mainboard/facebook/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Facebook" default "Facebook"
endif # VENDOR_FACEBOOK endif # VENDOR_FACEBOOK

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_FOXCONN if VENDOR_FOXCONN
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/foxconn/*/Kconfig" source "src/mainboard/foxconn/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Foxconn" default "Foxconn"
endif # VENDOR_FOXCONN endif # VENDOR_FOXCONN

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_GETAC if VENDOR_GETAC
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/getac/*/Kconfig" source "src/mainboard/getac/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Getac" default "Getac"
endif # VENDOR_GETAC endif # VENDOR_GETAC

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_GIGABYTE if VENDOR_GIGABYTE
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/gigabyte/*/Kconfig" source "src/mainboard/gigabyte/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "GIGABYTE" default "GIGABYTE"
endif # VENDOR_GIGABYTE endif # VENDOR_GIGABYTE

View File

@ -25,7 +25,6 @@ endchoice
source "src/mainboard/gizmosphere/*/Kconfig" source "src/mainboard/gizmosphere/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "GizmoSphere" default "GizmoSphere"
endif # VENDOR_GIZMOSPHERE endif # VENDOR_GIZMOSPHERE

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_GOOGLE if VENDOR_GOOGLE
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/google/*/Kconfig" source "src/mainboard/google/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string "Mainboard Vendor"
default "Google" default "Google"
endif # VENDOR_GOOGLE endif # VENDOR_GOOGLE

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/hp/*/Kconfig" source "src/mainboard/hp/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "HP" default "HP"
endif # VENDOR_HP endif # VENDOR_HP

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/ibase/*/Kconfig" source "src/mainboard/ibase/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "iBase" default "iBase"
endif # VENDOR_IBASE endif # VENDOR_IBASE

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/intel/*/Kconfig" source "src/mainboard/intel/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Intel" default "Intel"
endif # VENDOR_INTEL endif # VENDOR_INTEL

View File

@ -13,7 +13,6 @@ endchoice
source "src/mainboard/jetway/*/Kconfig" source "src/mainboard/jetway/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Jetway" default "Jetway"
endif # VENDOR_JETWAY endif # VENDOR_JETWAY

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/kontron/*/Kconfig" source "src/mainboard/kontron/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Kontron" default "Kontron"
endif # VENDOR_KONTRON endif # VENDOR_KONTRON

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/lenovo/*/Kconfig" source "src/mainboard/lenovo/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "LENOVO" default "LENOVO"
config MAINBOARD_FAMILY config MAINBOARD_FAMILY

View File

@ -15,7 +15,6 @@ endchoice
source "src/mainboard/lippert/*/Kconfig" source "src/mainboard/lippert/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "LiPPERT" default "LiPPERT"
endif # VENDOR_LIPPERT endif # VENDOR_LIPPERT

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_MSI if VENDOR_MSI
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/msi/*/Kconfig" source "src/mainboard/msi/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "MSI" default "MSI"
endif # VENDOR_MSI endif # VENDOR_MSI

View File

@ -12,6 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if VENDOR_OPENCELLULAR if VENDOR_OPENCELLULAR
choice choice
@ -24,7 +25,6 @@ endchoice
source "src/mainboard/opencellular/*/Kconfig" source "src/mainboard/opencellular/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "OpenCellular" default "OpenCellular"
endif # VENDOR_OPENCELLULAR endif # VENDOR_OPENCELLULAR

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/packardbell/*/Kconfig" source "src/mainboard/packardbell/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Packard Bell" default "Packard Bell"
endif # VENDOR_PACKARDBELL endif # VENDOR_PACKARDBELL

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/pcengines/*/Kconfig" source "src/mainboard/pcengines/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "PC Engines" default "PC Engines"
endif # VENDOR_PCENGINES endif # VENDOR_PCENGINES

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/portwell/*/Kconfig" source "src/mainboard/portwell/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Portwell" default "Portwell"
endif # VENDOR_PORTWELL endif # VENDOR_PORTWELL

View File

@ -25,7 +25,6 @@ endchoice
source "src/mainboard/purism/*/Kconfig" source "src/mainboard/purism/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string "Mainboard Vendor"
default "Purism" default "Purism"
endif # VENDOR_PURISM endif # VENDOR_PURISM

View File

@ -1,4 +1,3 @@
if VENDOR_RAZER if VENDOR_RAZER
choice choice
@ -11,7 +10,6 @@ endchoice
source "src/mainboard/razer/*/Kconfig" source "src/mainboard/razer/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string "Mainboard Vendor"
default "RAZER" default "RAZER"
endif endif

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/roda/*/Kconfig" source "src/mainboard/roda/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Roda" default "Roda"
endif # VENDOR_RODA endif # VENDOR_RODA

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/samsung/*/Kconfig" source "src/mainboard/samsung/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "SAMSUNG" default "SAMSUNG"
endif # VENDOR_SAMSUNG endif # VENDOR_SAMSUNG

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/sapphire/*/Kconfig" source "src/mainboard/sapphire/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Sapphire" default "Sapphire"
endif # VENDOR_SAPPHIRE endif # VENDOR_SAPPHIRE

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/scaleway/*/Kconfig" source "src/mainboard/scaleway/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Scaleway" default "Scaleway"
endif # VENDOR_SCALEWAY endif # VENDOR_SCALEWAY

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/siemens/*/Kconfig" source "src/mainboard/siemens/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Siemens" default "Siemens"
endif # VENDOR_SIEMENS endif # VENDOR_SIEMENS

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/sifive/*/Kconfig" source "src/mainboard/sifive/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "SiFive" default "SiFive"
endif # VENDOR_SIFIVE endif # VENDOR_SIFIVE

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/supermicro/*/Kconfig" source "src/mainboard/supermicro/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "Supermicro" default "Supermicro"
endif # VENDOR_SUPERMICRO endif # VENDOR_SUPERMICRO

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/system76/*/Kconfig" source "src/mainboard/system76/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "System76" default "System76"
endif endif

View File

@ -26,7 +26,6 @@ endchoice
source "src/mainboard/ti/*/Kconfig" source "src/mainboard/ti/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "TI" default "TI"
endif # VENDOR_TI endif # VENDOR_TI

View File

@ -10,7 +10,6 @@ endchoice
source "src/mainboard/up/*/Kconfig" source "src/mainboard/up/*/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string
default "UP" default "UP"
endif endif