diff options
author | Alexandre Ghiti <[email protected]> | 2021-06-04 13:49:48 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-06-11 14:29:17 -0700 |
commit | 7094e6acaf7ab869a1f1c34825ba1fe3173fe350 (patch) | |
tree | 4b44d1627606421f2ac16cf73be5c2ddda1723c5 /lib/mpi/mpi-sub-ui.c | |
parent | 9b79878ced8f7ab85c57623f8b1f6882e484a316 (diff) |
riscv: Simplify xip and !xip kernel address conversion macros
To simplify the kernel address conversion code, make the same definition of
kernel_mapping_pa_to_va and kernel_mapping_va_to_pa compatible for both xip
and !xip kernel by defining XIP_OFFSET to 0 in !xip kernel.
Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions