Skip to content

Commit 5fd99f5

Browse files
kapi-nogalak
authored andcommitted
drivers: flash: simulator Kconfig cleanup
Moved the default selection of Flash simulator for qemu_x86 to the board Kconfig. Signed-off-by: Kamil Piszczek <[email protected]>
1 parent 968d3a9 commit 5fd99f5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

boards/x86/qemu_x86/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ config BUILD_OUTPUT_BIN
99
config BOARD
1010
default "qemu_x86"
1111

12+
if FLASH
13+
14+
config FLASH_SIMULATOR
15+
default y
16+
17+
endif
18+
1219
endif # BOARD_QEMU_X86
1320

1421
if BOARD_QEMU_X86_IAMCU

drivers/flash/Kconfig.simulator

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
menuconfig FLASH_SIMULATOR
77
bool
88
prompt "Flash simulator"
9-
default y if BOARD_QEMU_X86
109
depends on FLASH
1110
select STATS
1211
select STATS_NAMES

0 commit comments

Comments
 (0)