summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/Kconfig14
-rw-r--r--src/mainboard/emulation/qemu-x86/Kconfig11
2 files changed, 18 insertions, 7 deletions
diff --git a/src/mainboard/emulation/Kconfig b/src/mainboard/emulation/Kconfig
index c2ecc2b2b9..5661f0e3b1 100644
--- a/src/mainboard/emulation/Kconfig
+++ b/src/mainboard/emulation/Kconfig
@@ -1,7 +1,17 @@
+if VENDOR_EMULATION
+
choice
prompt "Mainboard model"
- depends on VENDOR_EMULATION
-source "src/mainboard/emulation/qemu-x86/Kconfig"
+config BOARD_EMULATION_QEMU_X86
+ bool "QEMU x86"
endchoice
+
+source "src/mainboard/emulation/qemu-x86/Kconfig"
+
+config MAINBOARD_VENDOR
+ string
+ default "Emulation"
+
+endif # VENDOR_EMULATION
diff --git a/src/mainboard/emulation/qemu-x86/Kconfig b/src/mainboard/emulation/qemu-x86/Kconfig
index 72f3c273c6..40d416ff0d 100644
--- a/src/mainboard/emulation/qemu-x86/Kconfig
+++ b/src/mainboard/emulation/qemu-x86/Kconfig
@@ -1,5 +1,7 @@
-config BOARD_EMULATION_QEMU_X86
- bool "QEMU x86"
+if BOARD_EMULATION_QEMU_X86
+
+config BOARD_SPECIFIC_OPTIONS # dummy
+ def_bool y
select ARCH_X86
select SOUTHBRIDGE_INTEL_I82371EB
select ROMCC
@@ -12,14 +14,13 @@ config BOARD_EMULATION_QEMU_X86
config MAINBOARD_DIR
string
default emulation/qemu-x86
- depends on BOARD_EMULATION_QEMU_X86
config MAINBOARD_PART_NUMBER
string
default "QEMU x86"
- depends on BOARD_EMULATION_QEMU_X86
config IRQ_SLOT_COUNT
int
default 6
- depends on BOARD_EMULATION_QEMU_X86
+
+endif # BOARD_EMULATION_QEMU_X86