summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro
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/supermicro
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/supermicro')
-rw-r--r--src/mainboard/supermicro/Kconfig26
-rw-r--r--src/mainboard/supermicro/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/h8dme/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/h8dmr/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/h8dmr_fam10/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/h8qgi/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/h8qme_fam10/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/h8scm/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/h8scm_fam10/Kconfig.name2
-rw-r--r--src/mainboard/supermicro/x7db8/Kconfig.name2
10 files changed, 20 insertions, 24 deletions
diff --git a/src/mainboard/supermicro/Kconfig b/src/mainboard/supermicro/Kconfig
index aaa16b38d5..2ee9372fc2 100644
--- a/src/mainboard/supermicro/Kconfig
+++ b/src/mainboard/supermicro/Kconfig
@@ -3,33 +3,11 @@ if VENDOR_SUPERMICRO
choice
prompt "Mainboard model"
-config BOARD_SUPERMICRO_H8DME
- bool "H8DME-2"
-config BOARD_SUPERMICRO_H8DMR
- bool "H8DMR-i2"
-config BOARD_SUPERMICRO_H8DMR_FAM10
- bool "H8DMR-i2 (Fam10)"
-config BOARD_SUPERMICRO_H8QME_FAM10
- bool "H8QME-2+ (Fam10)"
-config BOARD_SUPERMICRO_H8SCM_FAM10
- bool "H8SCM (Fam10)"
-config BOARD_SUPERMICRO_H8SCM
- bool "H8SCM"
-config BOARD_SUPERMICRO_H8QGI
- bool "H8QGI"
-config BOARD_SUPERMICRO_X7DB8
- bool "X7DB8 / X7DB8+"
+source "src/mainboard/supermicro/*/Kconfig.name"
endchoice
-source "src/mainboard/supermicro/h8dme/Kconfig"
-source "src/mainboard/supermicro/h8dmr/Kconfig"
-source "src/mainboard/supermicro/h8dmr_fam10/Kconfig"
-source "src/mainboard/supermicro/h8qme_fam10/Kconfig"
-source "src/mainboard/supermicro/h8scm_fam10/Kconfig"
-source "src/mainboard/supermicro/h8scm/Kconfig"
-source "src/mainboard/supermicro/h8qgi/Kconfig"
-source "src/mainboard/supermicro/x7db8/Kconfig"
+source "src/mainboard/supermicro/*/Kconfig"
config MAINBOARD_VENDOR
string
diff --git a/src/mainboard/supermicro/Kconfig.name b/src/mainboard/supermicro/Kconfig.name
new file mode 100644
index 0000000000..6aa397a71b
--- /dev/null
+++ b/src/mainboard/supermicro/Kconfig.name
@@ -0,0 +1,2 @@
+config VENDOR_SUPERMICRO
+ bool "Supermicro"
diff --git a/src/mainboard/supermicro/h8dme/Kconfig.name b/src/mainboard/supermicro/h8dme/Kconfig.name
new file mode 100644
index 0000000000..867b967591
--- /dev/null
+++ b/src/mainboard/supermicro/h8dme/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_H8DME
+ bool "H8DME-2"
diff --git a/src/mainboard/supermicro/h8dmr/Kconfig.name b/src/mainboard/supermicro/h8dmr/Kconfig.name
new file mode 100644
index 0000000000..9754fb6f4a
--- /dev/null
+++ b/src/mainboard/supermicro/h8dmr/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_H8DMR
+ bool "H8DMR-i2"
diff --git a/src/mainboard/supermicro/h8dmr_fam10/Kconfig.name b/src/mainboard/supermicro/h8dmr_fam10/Kconfig.name
new file mode 100644
index 0000000000..379d9bb026
--- /dev/null
+++ b/src/mainboard/supermicro/h8dmr_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_H8DMR_FAM10
+ bool "H8DMR-i2 (Fam10)"
diff --git a/src/mainboard/supermicro/h8qgi/Kconfig.name b/src/mainboard/supermicro/h8qgi/Kconfig.name
new file mode 100644
index 0000000000..4211c5465a
--- /dev/null
+++ b/src/mainboard/supermicro/h8qgi/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_H8QGI
+ bool "H8QGI"
diff --git a/src/mainboard/supermicro/h8qme_fam10/Kconfig.name b/src/mainboard/supermicro/h8qme_fam10/Kconfig.name
new file mode 100644
index 0000000000..d7f1933d60
--- /dev/null
+++ b/src/mainboard/supermicro/h8qme_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_H8QME_FAM10
+ bool "H8QME-2+ (Fam10)"
diff --git a/src/mainboard/supermicro/h8scm/Kconfig.name b/src/mainboard/supermicro/h8scm/Kconfig.name
new file mode 100644
index 0000000000..d502234cd2
--- /dev/null
+++ b/src/mainboard/supermicro/h8scm/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_H8SCM
+ bool "H8SCM"
diff --git a/src/mainboard/supermicro/h8scm_fam10/Kconfig.name b/src/mainboard/supermicro/h8scm_fam10/Kconfig.name
new file mode 100644
index 0000000000..03ff6bc5fc
--- /dev/null
+++ b/src/mainboard/supermicro/h8scm_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_H8SCM_FAM10
+ bool "H8SCM (Fam10)"
diff --git a/src/mainboard/supermicro/x7db8/Kconfig.name b/src/mainboard/supermicro/x7db8/Kconfig.name
new file mode 100644
index 0000000000..b964bcf8ee
--- /dev/null
+++ b/src/mainboard/supermicro/x7db8/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_SUPERMICRO_X7DB8
+ bool "X7DB8 / X7DB8+"