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"
config MAINBOARD_VENDOR
string "Mainboard vendor name"
config BOARD_ROMSIZE_KB_64
bool
config BOARD_ROMSIZE_KB_128

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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