Skip to content
Permalink
Browse files

drivers: flash: simulator Kconfig cleanup

Moved the default selection of Flash simulator for qemu_x86 to the board
Kconfig.

Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
  • Loading branch information...
kapi-no authored and galak committed Apr 26, 2019
1 parent 968d3a9 commit 5fd99f5e6a4cd4510a59b1b8c6899c340ba8627e
Showing with 7 additions and 1 deletion.
  1. +7 −0 boards/x86/qemu_x86/Kconfig.defconfig
  2. +0 −1 drivers/flash/Kconfig.simulator
@@ -9,6 +9,13 @@ config BUILD_OUTPUT_BIN
config BOARD
default "qemu_x86"

if FLASH

config FLASH_SIMULATOR
default y

endif

endif # BOARD_QEMU_X86

if BOARD_QEMU_X86_IAMCU
@@ -6,7 +6,6 @@
menuconfig FLASH_SIMULATOR
bool
prompt "Flash simulator"
default y if BOARD_QEMU_X86
depends on FLASH
select STATS
select STATS_NAMES

0 comments on commit 5fd99f5

Please sign in to comment.
You can’t perform that action at this time.