summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
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
parente5d5942e153a54e192644300e8dd94d53bdc2583 (diff)
downloadcoreboot-139e1067b696dd205feddc552334ab8d6ab6d23b.tar.xz
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')
-rw-r--r--src/mainboard/amd/Kconfig66
-rw-r--r--src/mainboard/amd/Kconfig.name2
-rw-r--r--src/mainboard/amd/bimini_fam10/Kconfig.name2
-rw-r--r--src/mainboard/amd/db800/Kconfig.name2
-rw-r--r--src/mainboard/amd/dbm690t/Kconfig.name2
-rw-r--r--src/mainboard/amd/dinar/Kconfig.name2
-rw-r--r--src/mainboard/amd/inagua/Kconfig.name2
-rw-r--r--src/mainboard/amd/mahogany/Kconfig.name2
-rw-r--r--src/mainboard/amd/mahogany_fam10/Kconfig.name2
-rw-r--r--src/mainboard/amd/norwich/Kconfig.name2
-rw-r--r--src/mainboard/amd/olivehill/Kconfig.name2
-rw-r--r--src/mainboard/amd/olivehillplus/Kconfig.name2
-rw-r--r--src/mainboard/amd/parmer/Kconfig.name2
-rw-r--r--src/mainboard/amd/persimmon/Kconfig.name2
-rw-r--r--src/mainboard/amd/pistachio/Kconfig.name2
-rw-r--r--src/mainboard/amd/rumba/Kconfig.name2
-rw-r--r--src/mainboard/amd/serengeti_cheetah/Kconfig.name2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/Kconfig.name2
-rw-r--r--src/mainboard/amd/south_station/Kconfig.name2
-rw-r--r--src/mainboard/amd/thatcher/Kconfig.name2
-rw-r--r--src/mainboard/amd/tilapia_fam10/Kconfig.name2
-rw-r--r--src/mainboard/amd/torpedo/Kconfig.name2
-rw-r--r--src/mainboard/amd/union_station/Kconfig.name2
23 files changed, 47 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
diff --git a/src/mainboard/amd/Kconfig.name b/src/mainboard/amd/Kconfig.name
new file mode 100644
index 0000000000..d512a9bc93
--- /dev/null
+++ b/src/mainboard/amd/Kconfig.name
@@ -0,0 +1,2 @@
+config VENDOR_AMD
+ bool "AMD"
diff --git a/src/mainboard/amd/bimini_fam10/Kconfig.name b/src/mainboard/amd/bimini_fam10/Kconfig.name
new file mode 100644
index 0000000000..8382656066
--- /dev/null
+++ b/src/mainboard/amd/bimini_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_BIMINI_FAM10
+ bool "Bimini (Fam10)"
diff --git a/src/mainboard/amd/db800/Kconfig.name b/src/mainboard/amd/db800/Kconfig.name
new file mode 100644
index 0000000000..486b617019
--- /dev/null
+++ b/src/mainboard/amd/db800/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_DB800
+ bool "DB800 (Salsa)"
diff --git a/src/mainboard/amd/dbm690t/Kconfig.name b/src/mainboard/amd/dbm690t/Kconfig.name
new file mode 100644
index 0000000000..cbc2900410
--- /dev/null
+++ b/src/mainboard/amd/dbm690t/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_DBM690T
+ bool "DBM690T (Herring)"
diff --git a/src/mainboard/amd/dinar/Kconfig.name b/src/mainboard/amd/dinar/Kconfig.name
new file mode 100644
index 0000000000..b3434c1bc6
--- /dev/null
+++ b/src/mainboard/amd/dinar/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_DINAR
+ bool "Dinar"
diff --git a/src/mainboard/amd/inagua/Kconfig.name b/src/mainboard/amd/inagua/Kconfig.name
new file mode 100644
index 0000000000..668b22a7d7
--- /dev/null
+++ b/src/mainboard/amd/inagua/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_INAGUA
+ bool "Inagua"
diff --git a/src/mainboard/amd/mahogany/Kconfig.name b/src/mainboard/amd/mahogany/Kconfig.name
new file mode 100644
index 0000000000..5dde9cb718
--- /dev/null
+++ b/src/mainboard/amd/mahogany/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_MAHOGANY
+ bool "Mahogany"
diff --git a/src/mainboard/amd/mahogany_fam10/Kconfig.name b/src/mainboard/amd/mahogany_fam10/Kconfig.name
new file mode 100644
index 0000000000..c2d42a9e4e
--- /dev/null
+++ b/src/mainboard/amd/mahogany_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_MAHOGANY_FAM10
+ bool "Mahogany (Fam10)"
diff --git a/src/mainboard/amd/norwich/Kconfig.name b/src/mainboard/amd/norwich/Kconfig.name
new file mode 100644
index 0000000000..0d590b1782
--- /dev/null
+++ b/src/mainboard/amd/norwich/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_NORWICH
+ bool "Norwich"
diff --git a/src/mainboard/amd/olivehill/Kconfig.name b/src/mainboard/amd/olivehill/Kconfig.name
new file mode 100644
index 0000000000..fd1a713aac
--- /dev/null
+++ b/src/mainboard/amd/olivehill/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_OLIVEHILL
+ bool "Olive Hill"
diff --git a/src/mainboard/amd/olivehillplus/Kconfig.name b/src/mainboard/amd/olivehillplus/Kconfig.name
new file mode 100644
index 0000000000..85a3e86ca2
--- /dev/null
+++ b/src/mainboard/amd/olivehillplus/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_OLIVEHILLPLUS
+ bool "Olive Hill Plus"
diff --git a/src/mainboard/amd/parmer/Kconfig.name b/src/mainboard/amd/parmer/Kconfig.name
new file mode 100644
index 0000000000..3aedc956ae
--- /dev/null
+++ b/src/mainboard/amd/parmer/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_PARMER
+ bool "Parmer"
diff --git a/src/mainboard/amd/persimmon/Kconfig.name b/src/mainboard/amd/persimmon/Kconfig.name
new file mode 100644
index 0000000000..ba24b13aa4
--- /dev/null
+++ b/src/mainboard/amd/persimmon/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_PERSIMMON
+ bool "Persimmon"
diff --git a/src/mainboard/amd/pistachio/Kconfig.name b/src/mainboard/amd/pistachio/Kconfig.name
new file mode 100644
index 0000000000..bbab2bff49
--- /dev/null
+++ b/src/mainboard/amd/pistachio/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_PISTACHIO
+ bool "Pistachio"
diff --git a/src/mainboard/amd/rumba/Kconfig.name b/src/mainboard/amd/rumba/Kconfig.name
new file mode 100644
index 0000000000..e00444ef06
--- /dev/null
+++ b/src/mainboard/amd/rumba/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_RUMBA
+ bool "Rumba"
diff --git a/src/mainboard/amd/serengeti_cheetah/Kconfig.name b/src/mainboard/amd/serengeti_cheetah/Kconfig.name
new file mode 100644
index 0000000000..8a15a9bdde
--- /dev/null
+++ b/src/mainboard/amd/serengeti_cheetah/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_SERENGETI_CHEETAH
+ bool "Serengeti Cheetah"
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig.name b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig.name
new file mode 100644
index 0000000000..66b7c395ab
--- /dev/null
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_SERENGETI_CHEETAH_FAM10
+ bool "Serengeti Cheetah (Fam10)"
diff --git a/src/mainboard/amd/south_station/Kconfig.name b/src/mainboard/amd/south_station/Kconfig.name
new file mode 100644
index 0000000000..0cc745e3bc
--- /dev/null
+++ b/src/mainboard/amd/south_station/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_SOUTHSTATION
+ bool "Southstation"
diff --git a/src/mainboard/amd/thatcher/Kconfig.name b/src/mainboard/amd/thatcher/Kconfig.name
new file mode 100644
index 0000000000..aff5246cc7
--- /dev/null
+++ b/src/mainboard/amd/thatcher/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_THATCHER
+ bool "Thatcher"
diff --git a/src/mainboard/amd/tilapia_fam10/Kconfig.name b/src/mainboard/amd/tilapia_fam10/Kconfig.name
new file mode 100644
index 0000000000..6e290c1d6c
--- /dev/null
+++ b/src/mainboard/amd/tilapia_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_TILAPIA_FAM10
+ bool "Tilapia (Fam10)"
diff --git a/src/mainboard/amd/torpedo/Kconfig.name b/src/mainboard/amd/torpedo/Kconfig.name
new file mode 100644
index 0000000000..066ff630a7
--- /dev/null
+++ b/src/mainboard/amd/torpedo/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_TORPEDO
+ bool "Torpedo"
diff --git a/src/mainboard/amd/union_station/Kconfig.name b/src/mainboard/amd/union_station/Kconfig.name
new file mode 100644
index 0000000000..9af3c8270b
--- /dev/null
+++ b/src/mainboard/amd/union_station/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_UNIONSTATION
+ bool "Unionstation"