u-boot/arch/powerpc/include/asm
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
..
arch-mpc83xx mpc83xx: set MPC83XX_GPIO_CTRLRS to 2 for MPC8309 2020-01-08 08:14:20 +01:00
arch-mpc85xx SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
arch-ppc4xx SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
atomic.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
bitops.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
byteorder.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
cache.h powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx 2018-04-06 16:30:37 -04:00
config.h spi: Zap CONFIG_HARD_SPI 2018-11-27 21:06:53 +05:30
config_mpc85xx.h ppc: Remove MPC8569MDS board 2021-02-25 11:59:54 -05:00
config_mpc86xx.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpm_8xx.h powerpc: mpc8xx: redistribute data in CPM dpram 2018-04-06 16:30:37 -04:00
cpm_85xx.h powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
dma-mapping.h dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
e300.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_dma.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_fdt.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_i2c.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
fsl_law.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_lbc.h powerpc: Add LSDMR config values 2019-05-20 13:50:34 +02:00
fsl_liodn.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_mpc83xx_serdes.h misc: Add MPC83xx serdes driver 2018-09-18 08:12:21 -06:00
fsl_pamu.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_pci.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_portals.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_secure_boot.h freescale/powerpc: Rename the config CONFIG_SECURE_BOOT name 2019-11-08 16:32:08 +05:30
fsl_serdes.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_srio.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
global_data.h Drop global data sdhc_adapter for powerpc 2020-07-27 14:16:28 +05:30
gpio.h mpc83xx: Add a GPIO driver for the MPC83XX family 2012-01-09 20:10:33 -06:00
immap_8xx.h powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx 2018-04-06 16:30:37 -04:00
immap_83xx.h gpio: mpc8xxx_gpio: Fix for litte endian 2021-02-08 14:01:19 +05:30
immap_85xx.h ppc: Remove MPC8569MDS board 2021-02-25 11:59:54 -05:00
immap_86xx.h powerpc: MPC8610: Remove macro CONFIG_MPC8610 2016-11-23 23:42:16 -08:00
interrupt.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
io.h ppc: io.h: Use addrmap_ translation APIs only in post-relocation phase 2021-03-05 10:25:43 +05:30
iopin_8xx.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linkage.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mc146818rtc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mmu.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpc8xxx_spi.h mpc83xx: immap_83xx: add spi8xxx_t in immap for mpc8309 2020-01-08 08:14:14 +01:00
mpc85xx_gpio.h powerpc/mpc85xx: Fix compiling error with DM_GPIO 2020-06-03 12:14:27 +05:30
mpc8349_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci_io.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
posix_types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc.h common: Move upmconfig() to ppc.h 2020-01-17 13:27:28 -05:00
processor.h powerpc: Simplify processor.h 2019-05-21 07:52:34 +02:00
ptrace.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
sections.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sigcontext.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
signal.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
spl.h spl: Add support for passing handoff info to U-Boot proper 2018-11-26 08:25:37 -05:00
string.h Add strcasecmp() and strncasecmp() 2012-12-11 13:17:34 -07:00
types.h arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
u-boot.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
unaligned.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00