summaryrefslogtreecommitdiff
path: root/src/mainboard/gizmosphere
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/gizmosphere')
-rw-r--r--src/mainboard/gizmosphere/Kconfig9
-rw-r--r--src/mainboard/gizmosphere/Kconfig.name2
-rw-r--r--src/mainboard/gizmosphere/gizmo/Kconfig.name2
-rw-r--r--src/mainboard/gizmosphere/gizmo2/Kconfig.name2
4 files changed, 8 insertions, 7 deletions
diff --git a/src/mainboard/gizmosphere/Kconfig b/src/mainboard/gizmosphere/Kconfig
index 715da8f9ed..4238ec5ffe 100644
--- a/src/mainboard/gizmosphere/Kconfig
+++ b/src/mainboard/gizmosphere/Kconfig
@@ -22,16 +22,11 @@ if VENDOR_GIZMOSPHERE
choice
prompt "Mainboard model"
-config BOARD_GIZMOSPHERE_GIZMO
- bool "Gizmo"
-
-config BOARD_GIZMOSPHERE_GIZMO2
- bool "Gizmo2"
+source "src/mainboard/gizmosphere/*/Kconfig.name"
endchoice
-source "src/mainboard/gizmosphere/gizmo/Kconfig"
-source "src/mainboard/gizmosphere/gizmo2/Kconfig"
+source "src/mainboard/gizmosphere/*/Kconfig"
config MAINBOARD_VENDOR
string
diff --git a/src/mainboard/gizmosphere/Kconfig.name b/src/mainboard/gizmosphere/Kconfig.name
new file mode 100644
index 0000000000..dacb5d8f92
--- /dev/null
+++ b/src/mainboard/gizmosphere/Kconfig.name
@@ -0,0 +1,2 @@
+config VENDOR_GIZMOSPHERE
+ bool "GizmoSphere"
diff --git a/src/mainboard/gizmosphere/gizmo/Kconfig.name b/src/mainboard/gizmosphere/gizmo/Kconfig.name
new file mode 100644
index 0000000000..97c1f79da1
--- /dev/null
+++ b/src/mainboard/gizmosphere/gizmo/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_GIZMOSPHERE_GIZMO
+ bool "Gizmo"
diff --git a/src/mainboard/gizmosphere/gizmo2/Kconfig.name b/src/mainboard/gizmosphere/gizmo2/Kconfig.name
new file mode 100644
index 0000000000..a3bae57b28
--- /dev/null
+++ b/src/mainboard/gizmosphere/gizmo2/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_GIZMOSPHERE_GIZMO2
+ bool "Gizmo2"