diff options
author | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-04-28 14:45:12 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-05-01 08:53:41 -0700 |
commit | f54c7b5898d31eda3d6608da13b55c0466ba49fe (patch) | |
tree | 9ad43de2520c5ec9f5499e4448ead398a55ec360 /samples | |
parent | 28252e08649f3aa06cb6b5420e29df7a9d5fe67d (diff) | |
download | linux-f54c7b5898d31eda3d6608da13b55c0466ba49fe.tar.gz linux-f54c7b5898d31eda3d6608da13b55c0466ba49fe.tar.bz2 linux-f54c7b5898d31eda3d6608da13b55c0466ba49fe.zip |
RISC-V: Always define XIP_FIXUP
XIP depends on MMU, but XIP_FIXUP is used throughout the kernel in
order to avoid excessive ifdefs. This just makes sure to always define
XIP_FIXUP, which will fix MMU=n builds. XIP_OFFSET is used by assembly
but XIP_FIXUP is C-only, so they're split.
Fixes: 44c922572952 ("RISC-V: enable XIP")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Tested-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions