summaryrefslogtreecommitdiff
path: root/src/mainboard/olpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/olpc/Kconfig')
-rw-r--r--src/mainboard/olpc/Kconfig17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/mainboard/olpc/Kconfig b/src/mainboard/olpc/Kconfig
index a74f393774..c297f3295a 100644
--- a/src/mainboard/olpc/Kconfig
+++ b/src/mainboard/olpc/Kconfig
@@ -1,9 +1,20 @@
+if VENDOR_OLPC
+
choice
prompt "Mainboard model"
- depends on VENDOR_OLPC
-source "src/mainboard/olpc/rev_a/Kconfig"
-source "src/mainboard/olpc/btest/Kconfig"
+config BOARD_OLPC_BTEST
+ bool "btest"
+config BOARD_OLPC_REV_A
+ bool "rev_a"
endchoice
+source "src/mainboard/olpc/btest/Kconfig"
+source "src/mainboard/olpc/rev_a/Kconfig"
+
+config MAINBOARD_VENDOR
+ string
+ default "OLPC"
+
+endif # VENDOR_OLPC