nuttx kconfig: rename a few recently-added options

from:
ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS
ARCH_TEXT_HEAP_WORD_ALIGNED_READ

to:
ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS
ARCH_HAVE_TEXT_HEAP_WORD_ALIGNED_READ
This commit is contained in:
YAMAMOTO Takashi 2024-05-20 12:11:01 +09:00 committed by Xiang Xiao
parent d196f800b0
commit 1ee279c292
3 changed files with 6 additions and 6 deletions

View File

@ -430,13 +430,13 @@ config ARCH_HAVE_TEXT_HEAP
---help---
Special memory region for dynamic code loading
config ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS
config ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS
bool
default n
---help---
Textheap might have separate instruction/data mappings
config ARCH_TEXT_HEAP_WORD_ALIGNED_READ
config ARCH_HAVE_TEXT_HEAP_WORD_ALIGNED_READ
bool
default n
---help---

View File

@ -84,8 +84,8 @@ config ARCH_CHIP_ESP32S3
select ARCH_HAVE_MULTICPU
select ARCH_HAVE_RESET
select ARCH_HAVE_TEXT_HEAP
select ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS
select ARCH_TEXT_HEAP_WORD_ALIGNED_READ
select ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS
select ARCH_HAVE_TEXT_HEAP_WORD_ALIGNED_READ
select ARCH_HAVE_TESTSET
select ARCH_VECNOTIRQ
select LIBC_PREVENT_STRING_KERNEL

View File

@ -800,7 +800,7 @@ bool up_textheap_heapmember(FAR void *p);
****************************************************************************/
#if defined(CONFIG_ARCH_USE_TEXT_HEAP)
#if defined(CONFIG_ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
#if defined(CONFIG_ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
FAR void *up_textheap_data_address(FAR void *p);
#else
#define up_textheap_data_address(p) ((FAR void *)p)
@ -818,7 +818,7 @@ FAR void *up_textheap_data_address(FAR void *p);
****************************************************************************/
#if defined(CONFIG_ARCH_USE_TEXT_HEAP)
#if defined(CONFIG_ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
#if defined(CONFIG_ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS)
void up_textheap_data_sync(void);
#else
#define up_textheap_data_sync() do {} while (0)