diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2020-01-31 21:33:28 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-08-28 18:25:23 -0700 |
commit | 03ce34cf8f50e4c62f9a4b62caffdba1165ca977 (patch) | |
tree | ae0a4ae9bce6a357a4332051d79625ac3db41a62 /arch/xtensa/Kconfig | |
parent | 687eb3c42f4ad81e7c947c50e2d865f692064291 (diff) |
xtensa: add XIP-aware MTD support
Add Kconfig symbol, asm/mtd-xip.h header and define related macros:
xip_cpu_idle, xip_irqpending, xip_currtime and xip_elapsed_since.
Append .xiptext to the vectors when separate vectors are configured
because otherwise they are appended to the data and data may not even be
executable in XIP configuration.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 2a51a466779f..070a112b7dbe 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -70,6 +70,9 @@ config ARCH_HAS_ILOG2_U32 config ARCH_HAS_ILOG2_U64 def_bool n +config ARCH_MTD_XIP + def_bool y + config NO_IOPORT_MAP def_bool n |