You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/12/07 11:07:45 UTC
(nuttx) branch master updated: esp32s3: remove an extra S from ESP32S3S_SPI_FLASH_USE_32BIT_ADDRESS
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new c079b82c37 esp32s3: remove an extra S from ESP32S3S_SPI_FLASH_USE_32BIT_ADDRESS
c079b82c37 is described below
commit c079b82c3792d98b400880f06635f88d2f4493ff
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Dec 7 11:27:01 2023 +0900
esp32s3: remove an extra S from ESP32S3S_SPI_FLASH_USE_32BIT_ADDRESS
---
arch/xtensa/src/esp32s3/Kconfig | 4 ++--
arch/xtensa/src/esp32s3/esp32s3_spiflash.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/xtensa/src/esp32s3/Kconfig b/arch/xtensa/src/esp32s3/Kconfig
index f81ca3d298..a7ecb1f5ff 100644
--- a/arch/xtensa/src/esp32s3/Kconfig
+++ b/arch/xtensa/src/esp32s3/Kconfig
@@ -233,7 +233,7 @@ config ESP32S3_FLASH_16M
config ESP32S3_FLASH_32M
bool
default n
- select ESP32S3S_SPI_FLASH_USE_32BIT_ADDRESS
+ select ESP32S3_SPI_FLASH_USE_32BIT_ADDRESS
config ESP32S3_ESPTOOLPY_NO_STUB
bool "Disable download stub"
@@ -1753,7 +1753,7 @@ config ESP32S3_SPI_FLASH_DONT_USE_ROM_CODE
Use source code for SPI flash driver instead of functions
in ROM.
-config ESP32S3S_SPI_FLASH_USE_32BIT_ADDRESS
+config ESP32S3_SPI_FLASH_USE_32BIT_ADDRESS
bool "SPI flash uses 32-bit address"
default n
select ESP32S3_SPI_FLASH_DONT_USE_ROM_CODE
diff --git a/arch/xtensa/src/esp32s3/esp32s3_spiflash.c b/arch/xtensa/src/esp32s3/esp32s3_spiflash.c
index 937e55201f..515ccaecdb 100644
--- a/arch/xtensa/src/esp32s3/esp32s3_spiflash.c
+++ b/arch/xtensa/src/esp32s3/esp32s3_spiflash.c
@@ -118,7 +118,7 @@
/* SPI flash operation */
-# ifdef CONFIG_ESP32S3S_SPI_FLASH_USE_32BIT_ADDRESS
+# ifdef CONFIG_ESP32S3_SPI_FLASH_USE_32BIT_ADDRESS
# define ADDR_BITS(addr) (((addr) & 0xff000000) ? 32 : 24)
# define READ_CMD(addr) (ADDR_BITS(addr) == 32 ? FLASH_CMD_FSTRD4B : \
FLASH_CMD_FSTRD)