提交 38b4205a 编写于 作者: U Uwe Kleine-König 提交者: Russell King

ARM: 7361/1: provide XIP_VIRT_ADDR for no-MMU builds

XIP_VIRT_ADDR is needed for XIP builds and currently only defined for
builds with CONFIG_MMU.

Also provide it for no-MMU builds to make it possible to build an XIP
kernel for MMU-less machines. As these lack an MMU it has to be an
identity mapping.
Acked-by: NNicolas Pitre <nico@linaro.org>
Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 695436e3
...@@ -116,6 +116,8 @@ ...@@ -116,6 +116,8 @@
#define MODULES_END (END_MEM) #define MODULES_END (END_MEM)
#define MODULES_VADDR (PHYS_OFFSET) #define MODULES_VADDR (PHYS_OFFSET)
#define XIP_VIRT_ADDR(physaddr) (physaddr)
#endif /* !CONFIG_MMU */ #endif /* !CONFIG_MMU */
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册