xtensa/esp32s2: Rename MTD-related configs to become more intuitive

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2021-10-25 14:45:59 -03:00 committed by Xiang Xiao
parent 18f785c7b7
commit de0e4d4aac

View File

@ -650,17 +650,17 @@ config ESP32S2_OTA_SCRATCH_DEVPATH
endif endif
comment "General MTD configuration" comment "General storage MTD configuration"
config ESP32S2_MTD_OFFSET config ESP32S2_STORAGE_MTD_OFFSET
hex "MTD base address in SPI Flash" hex "Storage MTD base address in SPI Flash"
default 0x180000 if !ESP32S2_HAVE_OTA_PARTITION default 0x180000 if !ESP32S2_HAVE_OTA_PARTITION
default 0x250000 if ESP32S2_HAVE_OTA_PARTITION default 0x250000 if ESP32S2_HAVE_OTA_PARTITION
---help--- ---help---
MTD base address in SPI Flash. MTD base address in SPI Flash.
config ESP32S2_MTD_SIZE config ESP32S2_STORAGE_MTD_SIZE
hex "MTD size in SPI Flash" hex "Storage MTD size in SPI Flash"
default 0x100000 default 0x100000
---help--- ---help---
MTD size in SPI Flash. MTD size in SPI Flash.