summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan
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/tyan
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/tyan')
-rw-r--r--src/mainboard/tyan/Kconfig51
-rw-r--r--src/mainboard/tyan/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s1846/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2735/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2850/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2875/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2880/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2881/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2882/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2885/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2891/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2892/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2895/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2912/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s2912_fam10/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s4880/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s4882/Kconfig.name2
-rw-r--r--src/mainboard/tyan/s8226/Kconfig.name2
18 files changed, 37 insertions, 48 deletions
diff --git a/src/mainboard/tyan/Kconfig b/src/mainboard/tyan/Kconfig
index 4a135bdd7a..078c403f67 100644
--- a/src/mainboard/tyan/Kconfig
+++ b/src/mainboard/tyan/Kconfig
@@ -21,56 +21,11 @@ if VENDOR_TYAN
choice
prompt "Mainboard model"
-config BOARD_TYAN_S1846
- bool "S1846 (Tsunami ATX)"
-config BOARD_TYAN_S2735
- bool "S2735 (Tiger i7501R)"
-config BOARD_TYAN_S2850
- bool "S2850 (Tomcat K8S)"
-config BOARD_TYAN_S2875
- bool "S2875 (Tiger K8W)"
-config BOARD_TYAN_S2880
- bool "S2880 (Thunder K8S)"
-config BOARD_TYAN_S2881
- bool "S2881 (Thunder K8SR)"
-config BOARD_TYAN_S2882
- bool "S2882 (Thunder K8S Pro)"
-config BOARD_TYAN_S2885
- bool "S2885 (Thunder K8W)"
-config BOARD_TYAN_S2891
- bool "S2891 (Thunder K8SRE)"
-config BOARD_TYAN_S2892
- bool "S2892 (Thunder K8SE)"
-config BOARD_TYAN_S2895
- bool "S2895 (Thunder K8WE)"
-config BOARD_TYAN_S2912
- bool "S2912 (Thunder n3600R)"
-config BOARD_TYAN_S2912_FAM10
- bool "S2912 Fam10 (Thunder n3600R)"
-config BOARD_TYAN_S4880
- bool "S4880 (Thunder K8QS)"
-config BOARD_TYAN_S4882
- bool "S4882 (Thunder K8QS Pro)"
-config BOARD_TYAN_S8226
- bool "S8226"
+source "src/mainboard/tyan/*/Kconfig.name"
+
endchoice
-source "src/mainboard/tyan/s1846/Kconfig"
-source "src/mainboard/tyan/s2735/Kconfig"
-source "src/mainboard/tyan/s2850/Kconfig"
-source "src/mainboard/tyan/s2875/Kconfig"
-source "src/mainboard/tyan/s2880/Kconfig"
-source "src/mainboard/tyan/s2881/Kconfig"
-source "src/mainboard/tyan/s2882/Kconfig"
-source "src/mainboard/tyan/s2885/Kconfig"
-source "src/mainboard/tyan/s2891/Kconfig"
-source "src/mainboard/tyan/s2892/Kconfig"
-source "src/mainboard/tyan/s2895/Kconfig"
-source "src/mainboard/tyan/s2912/Kconfig"
-source "src/mainboard/tyan/s2912_fam10/Kconfig"
-source "src/mainboard/tyan/s4880/Kconfig"
-source "src/mainboard/tyan/s4882/Kconfig"
-source "src/mainboard/tyan/s8226/Kconfig"
+source "src/mainboard/tyan/*/Kconfig"
config MAINBOARD_VENDOR
string
diff --git a/src/mainboard/tyan/Kconfig.name b/src/mainboard/tyan/Kconfig.name
new file mode 100644
index 0000000000..ee21057adc
--- /dev/null
+++ b/src/mainboard/tyan/Kconfig.name
@@ -0,0 +1,2 @@
+config VENDOR_TYAN
+ bool "Tyan"
diff --git a/src/mainboard/tyan/s1846/Kconfig.name b/src/mainboard/tyan/s1846/Kconfig.name
new file mode 100644
index 0000000000..2b68f27db0
--- /dev/null
+++ b/src/mainboard/tyan/s1846/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S1846
+ bool "S1846 (Tsunami ATX)"
diff --git a/src/mainboard/tyan/s2735/Kconfig.name b/src/mainboard/tyan/s2735/Kconfig.name
new file mode 100644
index 0000000000..9f16bf242e
--- /dev/null
+++ b/src/mainboard/tyan/s2735/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2735
+ bool "S2735 (Tiger i7501R)"
diff --git a/src/mainboard/tyan/s2850/Kconfig.name b/src/mainboard/tyan/s2850/Kconfig.name
new file mode 100644
index 0000000000..2597535f27
--- /dev/null
+++ b/src/mainboard/tyan/s2850/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2850
+ bool "S2850 (Tomcat K8S)"
diff --git a/src/mainboard/tyan/s2875/Kconfig.name b/src/mainboard/tyan/s2875/Kconfig.name
new file mode 100644
index 0000000000..d427aca194
--- /dev/null
+++ b/src/mainboard/tyan/s2875/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2875
+ bool "S2875 (Tiger K8W)"
diff --git a/src/mainboard/tyan/s2880/Kconfig.name b/src/mainboard/tyan/s2880/Kconfig.name
new file mode 100644
index 0000000000..439e9aa2fb
--- /dev/null
+++ b/src/mainboard/tyan/s2880/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2880
+ bool "S2880 (Thunder K8S)"
diff --git a/src/mainboard/tyan/s2881/Kconfig.name b/src/mainboard/tyan/s2881/Kconfig.name
new file mode 100644
index 0000000000..475323e414
--- /dev/null
+++ b/src/mainboard/tyan/s2881/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2881
+ bool "S2881 (Thunder K8SR)"
diff --git a/src/mainboard/tyan/s2882/Kconfig.name b/src/mainboard/tyan/s2882/Kconfig.name
new file mode 100644
index 0000000000..50f93815f9
--- /dev/null
+++ b/src/mainboard/tyan/s2882/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2882
+ bool "S2882 (Thunder K8S Pro)"
diff --git a/src/mainboard/tyan/s2885/Kconfig.name b/src/mainboard/tyan/s2885/Kconfig.name
new file mode 100644
index 0000000000..15d2333ebf
--- /dev/null
+++ b/src/mainboard/tyan/s2885/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2885
+ bool "S2885 (Thunder K8W)"
diff --git a/src/mainboard/tyan/s2891/Kconfig.name b/src/mainboard/tyan/s2891/Kconfig.name
new file mode 100644
index 0000000000..8f45c3544c
--- /dev/null
+++ b/src/mainboard/tyan/s2891/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2891
+ bool "S2891 (Thunder K8SRE)"
diff --git a/src/mainboard/tyan/s2892/Kconfig.name b/src/mainboard/tyan/s2892/Kconfig.name
new file mode 100644
index 0000000000..6e00bae877
--- /dev/null
+++ b/src/mainboard/tyan/s2892/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2892
+ bool "S2892 (Thunder K8SE)"
diff --git a/src/mainboard/tyan/s2895/Kconfig.name b/src/mainboard/tyan/s2895/Kconfig.name
new file mode 100644
index 0000000000..ff55226cee
--- /dev/null
+++ b/src/mainboard/tyan/s2895/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2895
+ bool "S2895 (Thunder K8WE)"
diff --git a/src/mainboard/tyan/s2912/Kconfig.name b/src/mainboard/tyan/s2912/Kconfig.name
new file mode 100644
index 0000000000..f8f8828808
--- /dev/null
+++ b/src/mainboard/tyan/s2912/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2912
+ bool "S2912 (Thunder n3600R)"
diff --git a/src/mainboard/tyan/s2912_fam10/Kconfig.name b/src/mainboard/tyan/s2912_fam10/Kconfig.name
new file mode 100644
index 0000000000..711373266c
--- /dev/null
+++ b/src/mainboard/tyan/s2912_fam10/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S2912_FAM10
+ bool "S2912 Fam10 (Thunder n3600R)"
diff --git a/src/mainboard/tyan/s4880/Kconfig.name b/src/mainboard/tyan/s4880/Kconfig.name
new file mode 100644
index 0000000000..2e71996867
--- /dev/null
+++ b/src/mainboard/tyan/s4880/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S4880
+ bool "S4880 (Thunder K8QS)"
diff --git a/src/mainboard/tyan/s4882/Kconfig.name b/src/mainboard/tyan/s4882/Kconfig.name
new file mode 100644
index 0000000000..81b4a43e80
--- /dev/null
+++ b/src/mainboard/tyan/s4882/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S4882
+ bool "S4882 (Thunder K8QS Pro)"
diff --git a/src/mainboard/tyan/s8226/Kconfig.name b/src/mainboard/tyan/s8226/Kconfig.name
new file mode 100644
index 0000000000..78de0d26aa
--- /dev/null
+++ b/src/mainboard/tyan/s8226/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_TYAN_S8226
+ bool "S8226"