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:
parent
3e576739c9
commit
7671bce33b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/amd/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "AMD"
|
||||
|
||||
endif # VENDOR_AMD
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/aopen/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "AOpen"
|
||||
|
||||
endif # VENDOR_AOPEN
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/apple/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Apple"
|
||||
|
||||
endif # VENDOR_APPLE
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -29,7 +29,6 @@ endchoice
|
|||
source "src/mainboard/bap/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "BAP"
|
||||
|
||||
endif # VENDOR_BAP
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/compulab/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "CompuLab"
|
||||
|
||||
endif # VENDOR_COMPULAB
|
||||
|
|
|
@ -13,7 +13,6 @@ endchoice
|
|||
source "src/mainboard/elmex/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "ELMEX"
|
||||
|
||||
endif # VENDOR_ELMEX
|
||||
|
|
|
@ -16,7 +16,6 @@ config BOARD_EMULATION_QEMU_X86
|
|||
source "src/mainboard/emulation/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Emulation"
|
||||
|
||||
endif # VENDOR_EMULATION
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/facebook/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Facebook"
|
||||
|
||||
endif # VENDOR_FACEBOOK
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -25,7 +25,6 @@ endchoice
|
|||
source "src/mainboard/gizmosphere/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "GizmoSphere"
|
||||
|
||||
endif # VENDOR_GIZMOSPHERE
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/hp/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "HP"
|
||||
|
||||
endif # VENDOR_HP
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/ibase/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "iBase"
|
||||
|
||||
endif # VENDOR_IBASE
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/intel/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Intel"
|
||||
|
||||
endif # VENDOR_INTEL
|
||||
|
|
|
@ -13,7 +13,6 @@ endchoice
|
|||
source "src/mainboard/jetway/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Jetway"
|
||||
|
||||
endif # VENDOR_JETWAY
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/kontron/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Kontron"
|
||||
|
||||
endif # VENDOR_KONTRON
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/lenovo/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "LENOVO"
|
||||
|
||||
config MAINBOARD_FAMILY
|
||||
|
|
|
@ -15,7 +15,6 @@ endchoice
|
|||
source "src/mainboard/lippert/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "LiPPERT"
|
||||
|
||||
endif # VENDOR_LIPPERT
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/packardbell/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Packard Bell"
|
||||
|
||||
endif # VENDOR_PACKARDBELL
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/pcengines/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "PC Engines"
|
||||
|
||||
endif # VENDOR_PCENGINES
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/portwell/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Portwell"
|
||||
|
||||
endif # VENDOR_PORTWELL
|
||||
|
|
|
@ -25,7 +25,6 @@ endchoice
|
|||
source "src/mainboard/purism/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string "Mainboard Vendor"
|
||||
default "Purism"
|
||||
|
||||
endif # VENDOR_PURISM
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/roda/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Roda"
|
||||
|
||||
endif # VENDOR_RODA
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/samsung/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "SAMSUNG"
|
||||
|
||||
endif # VENDOR_SAMSUNG
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/sapphire/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Sapphire"
|
||||
|
||||
endif # VENDOR_SAPPHIRE
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/scaleway/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Scaleway"
|
||||
|
||||
endif # VENDOR_SCALEWAY
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/siemens/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Siemens"
|
||||
|
||||
endif # VENDOR_SIEMENS
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/sifive/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "SiFive"
|
||||
|
||||
endif # VENDOR_SIFIVE
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/supermicro/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "Supermicro"
|
||||
|
||||
endif # VENDOR_SUPERMICRO
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/system76/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "System76"
|
||||
|
||||
endif
|
||||
|
|
|
@ -26,7 +26,6 @@ endchoice
|
|||
source "src/mainboard/ti/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "TI"
|
||||
|
||||
endif # VENDOR_TI
|
||||
|
|
|
@ -10,7 +10,6 @@ endchoice
|
|||
source "src/mainboard/up/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
default "UP"
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue