summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
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/intel
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/intel')
-rw-r--r--src/mainboard/intel/Kconfig41
-rw-r--r--src/mainboard/intel/Kconfig.name2
-rw-r--r--src/mainboard/intel/bakersport_fsp/Kconfig.name2
-rw-r--r--src/mainboard/intel/baskingridge/Kconfig.name2
-rw-r--r--src/mainboard/intel/bayleybay_fsp/Kconfig.name2
-rw-r--r--src/mainboard/intel/cougar_canyon2/Kconfig.name2
-rw-r--r--src/mainboard/intel/d810e2cb/Kconfig.name2
-rw-r--r--src/mainboard/intel/d945gclf/Kconfig.name2
-rw-r--r--src/mainboard/intel/eagleheights/Kconfig.name2
-rw-r--r--src/mainboard/intel/emeraldlake2/Kconfig.name2
-rw-r--r--src/mainboard/intel/minnowmax/Kconfig.name2
-rw-r--r--src/mainboard/intel/mohonpeak/Kconfig.name2
-rw-r--r--src/mainboard/intel/mtarvon/Kconfig.name2
-rw-r--r--src/mainboard/intel/truxton/Kconfig.name2
-rw-r--r--src/mainboard/intel/wtm2/Kconfig.name2
15 files changed, 30 insertions, 39 deletions
diff --git a/src/mainboard/intel/Kconfig b/src/mainboard/intel/Kconfig
index a51dc02410..9f5e5af9c2 100644
--- a/src/mainboard/intel/Kconfig
+++ b/src/mainboard/intel/Kconfig
@@ -3,48 +3,11 @@ if VENDOR_INTEL
choice
prompt "Mainboard model"
-config BOARD_INTEL_BAKERSPORT_FSP
- bool "Bakersport FSP-based CRB"
-config BOARD_INTEL_BAYLEYBAY_FSP
- bool "Bayley Bay FSP-based CRB"
-config BOARD_INTEL_COUGAR_CANYON2
- bool "Cougar Canyon 2 CRB"
-config BOARD_INTEL_D810E2CB
- bool "D810E2CB"
-config BOARD_INTEL_D945GCLF
- bool "D945GCLF"
-config BOARD_INTEL_EAGLEHEIGHTS
- bool "EagleHeights"
-config BOARD_INTEL_EMERALDLAKE2
- bool "Emerald Lake 2 CRB"
-config BOARD_INTEL_MINNOWMAX
- bool "Minnow Max"
-config BOARD_INTEL_MOHONPEAK
- bool "Mohon Peak CRB"
-config BOARD_INTEL_MTARVON
- bool "3100 devkit (Mt. Arvon)"
-config BOARD_INTEL_TRUXTON
- bool "EP80579 devkit (Truxton)"
-config BOARD_INTEL_BASKING_RIDGE
- bool "Basking Ridge CRB"
-config BOARD_INTEL_WTM2
- bool "Whitetip Mountain 2 CRB"
+source "src/mainboard/intel/*/Kconfig.name"
endchoice
-source "src/mainboard/intel/bakersport_fsp/Kconfig"
-source "src/mainboard/intel/bayleybay_fsp/Kconfig"
-source "src/mainboard/intel/cougar_canyon2/Kconfig"
-source "src/mainboard/intel/d810e2cb/Kconfig"
-source "src/mainboard/intel/d945gclf/Kconfig"
-source "src/mainboard/intel/eagleheights/Kconfig"
-source "src/mainboard/intel/emeraldlake2/Kconfig"
-source "src/mainboard/intel/baskingridge/Kconfig"
-source "src/mainboard/intel/minnowmax/Kconfig"
-source "src/mainboard/intel/mohonpeak/Kconfig"
-source "src/mainboard/intel/mtarvon/Kconfig"
-source "src/mainboard/intel/truxton/Kconfig"
-source "src/mainboard/intel/wtm2/Kconfig"
+source "src/mainboard/intel/*/Kconfig"
config MAINBOARD_VENDOR
string
diff --git a/src/mainboard/intel/Kconfig.name b/src/mainboard/intel/Kconfig.name
new file mode 100644
index 0000000000..44eafbbdac
--- /dev/null
+++ b/src/mainboard/intel/Kconfig.name
@@ -0,0 +1,2 @@
+config VENDOR_INTEL
+ bool "Intel"
diff --git a/src/mainboard/intel/bakersport_fsp/Kconfig.name b/src/mainboard/intel/bakersport_fsp/Kconfig.name
new file mode 100644
index 0000000000..65d538785a
--- /dev/null
+++ b/src/mainboard/intel/bakersport_fsp/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_BAKERSPORT_FSP
+ bool "Bakersport FSP-based CRB"
diff --git a/src/mainboard/intel/baskingridge/Kconfig.name b/src/mainboard/intel/baskingridge/Kconfig.name
new file mode 100644
index 0000000000..d4c35ecd35
--- /dev/null
+++ b/src/mainboard/intel/baskingridge/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_BASKING_RIDGE
+ bool "Basking Ridge CRB"
diff --git a/src/mainboard/intel/bayleybay_fsp/Kconfig.name b/src/mainboard/intel/bayleybay_fsp/Kconfig.name
new file mode 100644
index 0000000000..52e6aaa6c3
--- /dev/null
+++ b/src/mainboard/intel/bayleybay_fsp/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_BAYLEYBAY_FSP
+ bool "Bayley Bay FSP-based CRB"
diff --git a/src/mainboard/intel/cougar_canyon2/Kconfig.name b/src/mainboard/intel/cougar_canyon2/Kconfig.name
new file mode 100644
index 0000000000..b2c8c1cb75
--- /dev/null
+++ b/src/mainboard/intel/cougar_canyon2/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_COUGAR_CANYON2
+ bool "Cougar Canyon 2 CRB"
diff --git a/src/mainboard/intel/d810e2cb/Kconfig.name b/src/mainboard/intel/d810e2cb/Kconfig.name
new file mode 100644
index 0000000000..8bf8624ab8
--- /dev/null
+++ b/src/mainboard/intel/d810e2cb/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_D810E2CB
+ bool "D810E2CB"
diff --git a/src/mainboard/intel/d945gclf/Kconfig.name b/src/mainboard/intel/d945gclf/Kconfig.name
new file mode 100644
index 0000000000..cf5a00d64c
--- /dev/null
+++ b/src/mainboard/intel/d945gclf/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_D945GCLF
+ bool "D945GCLF"
diff --git a/src/mainboard/intel/eagleheights/Kconfig.name b/src/mainboard/intel/eagleheights/Kconfig.name
new file mode 100644
index 0000000000..95be5cbc13
--- /dev/null
+++ b/src/mainboard/intel/eagleheights/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_EAGLEHEIGHTS
+ bool "EagleHeights"
diff --git a/src/mainboard/intel/emeraldlake2/Kconfig.name b/src/mainboard/intel/emeraldlake2/Kconfig.name
new file mode 100644
index 0000000000..33486588e2
--- /dev/null
+++ b/src/mainboard/intel/emeraldlake2/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_EMERALDLAKE2
+ bool "Emerald Lake 2 CRB"
diff --git a/src/mainboard/intel/minnowmax/Kconfig.name b/src/mainboard/intel/minnowmax/Kconfig.name
new file mode 100644
index 0000000000..abe9225960
--- /dev/null
+++ b/src/mainboard/intel/minnowmax/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_MINNOWMAX
+ bool "Minnow Max"
diff --git a/src/mainboard/intel/mohonpeak/Kconfig.name b/src/mainboard/intel/mohonpeak/Kconfig.name
new file mode 100644
index 0000000000..2fc6540d06
--- /dev/null
+++ b/src/mainboard/intel/mohonpeak/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_MOHONPEAK
+ bool "Mohon Peak CRB"
diff --git a/src/mainboard/intel/mtarvon/Kconfig.name b/src/mainboard/intel/mtarvon/Kconfig.name
new file mode 100644
index 0000000000..30b547e28f
--- /dev/null
+++ b/src/mainboard/intel/mtarvon/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_MTARVON
+ bool "3100 devkit (Mt. Arvon)"
diff --git a/src/mainboard/intel/truxton/Kconfig.name b/src/mainboard/intel/truxton/Kconfig.name
new file mode 100644
index 0000000000..f91b44538f
--- /dev/null
+++ b/src/mainboard/intel/truxton/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_TRUXTON
+ bool "EP80579 devkit (Truxton)"
diff --git a/src/mainboard/intel/wtm2/Kconfig.name b/src/mainboard/intel/wtm2/Kconfig.name
new file mode 100644
index 0000000000..d0a474d1b6
--- /dev/null
+++ b/src/mainboard/intel/wtm2/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_INTEL_WTM2
+ bool "Whitetip Mountain 2 CRB"