u-boot-brain/arch/powerpc
Bin Meng 3320656944 ppc: io.h: Use addrmap_ translation APIs only in post-relocation phase
In phys_to_virt() and virt_to_phys(), if CONFIG_ADDR_MAP is defined,
they use addrmap_ translation APIs to do the address translation.
However these APIs only work in post-relocation phase.

Update the code logic to fall back to use the default one when in
pre-relocation phase.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-03-05 10:25:43 +05:30
..
cpu ppc: mpc85xx: Wrap LAW related codes with CONFIG_FSL_LAW 2021-03-05 10:25:42 +05:30
dts mpc8379erdb: Add device tree 2021-02-21 18:45:26 -05:00
include/asm ppc: io.h: Use addrmap_ translation APIs only in post-relocation phase 2021-03-05 10:25:43 +05:30
lib Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
config.mk Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
Kconfig powerpc: mpc85xx: Only enable binman when it is needed 2020-07-28 19:30:39 -06:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00