Skip to content

Commit 2554d21

Browse files
fdcavalcantixiaoxiang781216
authored andcommitted
boards/xtensa: fix optional item on spiflash config
Removes optional keyword causing selection to fail on the automatic bringup of SPI flash device. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
1 parent 8ed1e63 commit 2554d21

6 files changed

Lines changed: 1 addition & 7 deletions

File tree

boards/xtensa/esp32/common/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ choice ESP32_SPIFLASH_FS
3131
prompt "File system to mount on SPI Flash MTD"
3232
default ESP32_SPIFLASH_SMARTFS
3333
depends on ESP32_SPIFLASH_AUTO_BRINGUP
34-
optional
3534
---help---
3635
Mount the SPI Flash MTD with the selected File System format on board
3736
bring-up.

boards/xtensa/esp32/esp32-devkitc/configs/ble/defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP_ESP32WROVER=y
2020
CONFIG_ARCH_INTERRUPTSTACK=2048
2121
CONFIG_ARCH_STACKDUMP=y
2222
CONFIG_ARCH_XTENSA=y
23-
CONFIG_BCH=y
2423
CONFIG_BOARD_LOOPSPERMSEC=16717
2524
CONFIG_BTSAK=y
2625
CONFIG_BUILTIN=y

boards/xtensa/esp32/esp32-devkitc/configs/spiflash/defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ CONFIG_ARCH_XTENSA=y
2121
CONFIG_BOARD_LOOPSPERMSEC=16717
2222
CONFIG_BUILTIN=y
2323
CONFIG_ESP32_SPIFLASH=y
24-
CONFIG_ESP32_SPIFLASH_SMARTFS=y
2524
CONFIG_ESP32_UART0=y
2625
CONFIG_FS_PROCFS=y
2726
CONFIG_HAVE_CXX=y

boards/xtensa/esp32s2/common/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config ESP32S2_MERGE_BINS
1515
config ESP32S2_SPIFLASH_AUTO_BRINGUP
1616
bool "Automatic mount of SPI Flash MTD"
1717
default y
18-
depends on ESP32S2_SPIFLASH
18+
depends on ESPRESSIF_SPIFLASH
1919
---help---
2020
Auto bring-up the SPI Flash MTD on board bring-up.
2121
If not selected, the MTD will be registered as a device node on /dev.
@@ -24,7 +24,6 @@ choice ESP32S2_SPIFLASH_FS
2424
prompt "File system to mount on SPI Flash MTD"
2525
default ESP32S2_SPIFLASH_SMARTFS
2626
depends on ESP32S2_SPIFLASH_AUTO_BRINGUP
27-
optional
2827
---help---
2928
Mount the SPI Flash MTD with the selected File System format on board
3029
bring-up.

boards/xtensa/esp32s3/common/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ choice ESP32S3_SPIFLASH_FS
6161
prompt "File system to mount on SPI Flash MTD"
6262
default ESP32S3_SPIFLASH_SMARTFS
6363
depends on ESP32S3_SPIFLASH_AUTO_BRINGUP
64-
optional
6564
---help---
6665
Mount the SPI Flash MTD with the selected File System format on board
6766
bring-up.

boards/xtensa/esp32s3/esp32s3-devkit/configs/spiflash/defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ CONFIG_BUILTIN=y
2323
CONFIG_DEBUG_FULLOPT=y
2424
CONFIG_DEBUG_SYMBOLS=y
2525
CONFIG_ESP32S3_SPIFLASH=y
26-
CONFIG_ESP32S3_SPIFLASH_SMARTFS=y
2726
CONFIG_ESP32S3_UART0=y
2827
CONFIG_FS_PROCFS=y
2928
CONFIG_HAVE_CXX=y

0 commit comments

Comments
 (0)