]> www.infradead.org Git - nvme.git/commit
xtensa: add XIP-aware MTD support
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 1 Feb 2020 05:33:28 +0000 (21:33 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 29 Aug 2023 01:25:23 +0000 (18:25 -0700)
commit03ce34cf8f50e4c62f9a4b62caffdba1165ca977
treeae0a4ae9bce6a357a4332051d79625ac3db41a62
parent687eb3c42f4ad81e7c947c50e2d865f692064291
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>
arch/xtensa/Kconfig
arch/xtensa/include/asm/mtd-xip.h [new file with mode: 0644]
arch/xtensa/include/asm/sections.h
arch/xtensa/kernel/setup.c
arch/xtensa/kernel/vmlinux.lds.S