summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/Kconfig
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-03 20:11:13 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-18 08:31:08 +0200
commit139e1067b696dd205feddc552334ab8d6ab6d23b (patch)
treeb669700ac56dadcceacbb44b7b792d6ad1123eab /src/mainboard/amd/Kconfig
parente5d5942e153a54e192644300e8dd94d53bdc2583 (diff)
kconfig: automatically include mainboards
This change switches all mainboard vendors and mainboards to be autoincluded by Kconfig, rather than having to be mentioned explicitly. This means, vendor and mainboard directories are becoming more "drop in", e.g. be placed in the coreboot directory hierarchy without having to modify any higher level coreboot files. The long term plan is to enable out of tree mainboards / components to be built with a given coreboot version (given that the API did not change) Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Change-Id: Ib68ce1478a2e12562aeac6297128a21eb174d58a Reviewed-on: http://review.coreboot.org/9295 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/amd/Kconfig')
-rw-r--r--src/mainboard/amd/Kconfig66
1 files changed, 3 insertions, 63 deletions
diff --git a/src/mainboard/amd/Kconfig b/src/mainboard/amd/Kconfig
index cc5679a90e..664ebe103e 100644
--- a/src/mainboard/amd/Kconfig
+++ b/src/mainboard/amd/Kconfig
@@ -3,71 +3,11 @@ if VENDOR_AMD
choice
prompt "Mainboard model"
-config BOARD_AMD_DB800
- bool "DB800 (Salsa)"
-config BOARD_AMD_DBM690T
- bool "DBM690T (Herring)"
-config BOARD_AMD_DINAR
- bool "Dinar"
-config BOARD_AMD_MAHOGANY
- bool "Mahogany"
-config BOARD_AMD_MAHOGANY_FAM10
- bool "Mahogany (Fam10)"
-config BOARD_AMD_NORWICH
- bool "Norwich"
-config BOARD_AMD_PISTACHIO
- bool "Pistachio"
-config BOARD_AMD_RUMBA
- bool "Rumba"
-config BOARD_AMD_SERENGETI_CHEETAH
- bool "Serengeti Cheetah"
-config BOARD_AMD_SERENGETI_CHEETAH_FAM10
- bool "Serengeti Cheetah (Fam10)"
-config BOARD_AMD_TILAPIA_FAM10
- bool "Tilapia (Fam10)"
-config BOARD_AMD_BIMINI_FAM10
- bool "Bimini (Fam10)"
-config BOARD_AMD_INAGUA
- bool "Inagua"
-config BOARD_AMD_PERSIMMON
- bool "Persimmon"
-config BOARD_AMD_SOUTHSTATION
- bool "Southstation"
-config BOARD_AMD_TORPEDO
- bool "Torpedo"
-config BOARD_AMD_UNIONSTATION
- bool "Unionstation"
-config BOARD_AMD_PARMER
- bool "Parmer"
-config BOARD_AMD_THATCHER
- bool "Thatcher"
-config BOARD_AMD_OLIVEHILL
- bool "Olive Hill"
-config BOARD_AMD_OLIVEHILLPLUS
- bool "Olive Hill Plus"
+source "src/mainboard/amd/*/Kconfig.name"
+
endchoice
-source "src/mainboard/amd/db800/Kconfig"
-source "src/mainboard/amd/dbm690t/Kconfig"
-source "src/mainboard/amd/dinar/Kconfig"
-source "src/mainboard/amd/mahogany/Kconfig"
-source "src/mainboard/amd/mahogany_fam10/Kconfig"
-source "src/mainboard/amd/norwich/Kconfig"
-source "src/mainboard/amd/pistachio/Kconfig"
-source "src/mainboard/amd/rumba/Kconfig"
-source "src/mainboard/amd/serengeti_cheetah/Kconfig"
-source "src/mainboard/amd/serengeti_cheetah_fam10/Kconfig"
-source "src/mainboard/amd/tilapia_fam10/Kconfig"
-source "src/mainboard/amd/bimini_fam10/Kconfig"
-source "src/mainboard/amd/inagua/Kconfig"
-source "src/mainboard/amd/persimmon/Kconfig"
-source "src/mainboard/amd/south_station/Kconfig"
-source "src/mainboard/amd/torpedo/Kconfig"
-source "src/mainboard/amd/union_station/Kconfig"
-source "src/mainboard/amd/parmer/Kconfig"
-source "src/mainboard/amd/thatcher/Kconfig"
-source "src/mainboard/amd/olivehill/Kconfig"
-source "src/mainboard/amd/olivehillplus/Kconfig"
+source "src/mainboard/amd/*/Kconfig"
config MAINBOARD_VENDOR
string