u-boot/arch/powerpc/include/asm
Paul Burton ae07d609e9 powerpc: Use asm-generic/io.h
Convert the powerpc architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As powerpc can actually perform
non-identity mapping between physical & virtual addresses we can't
simply make use of the generic phys_to_virt() & virt_to_phys()
functions. However since map_physmem() already effectively implemented
the same thing as virt_to_phys() we can simply implement virt_to_phys()
instead of map_physmem() & use the generic map_physmem(). We also drop
the no-op unmap_physmem().

This has only been build-tested, feedback from architecture maintainers
is welcome.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Wolfgang Denk <wd@denx.de>
2017-10-02 21:52:23 -04:00
..
arch-mpc83xx Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-mpc85xx dm: gpio: MPC85XX GPIO platform data support 2016-07-11 14:06:44 -06:00
arch-ppc4xx powerpc: ppc4xx: Add a gpio.h header file 2015-02-12 10:35:31 -07:00
8xx_immap.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -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, 8xx: move cache helper into C 2017-07-22 22:22:51 -04:00
config.h Move PHYLIB to Kconfig 2017-08-07 15:22:28 -05:00
config_mpc85xx.h powerpc: mpc85xx: Move macro CONFIG_SYS_PPC64 to Kconfig 2017-01-04 19:40:56 -05:00
config_mpc86xx.h fsl_ddr: Move DDR config options to driver Kconfig 2017-01-04 19:40:41 -05:00
cpm_85xx.h powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
e300.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_dma.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_fdt.h t1040d4rdb: assign muxed pins to qe-tdm when set hwconfig qe-tdm 2015-11-02 08:48:20 -08:00
fsl_i2c.h dm: fsl_i2c: Enable DM for FSL I2C 2016-05-17 08:28:55 +02:00
fsl_law.h powerpc: MPC8641: Remove macro CONFIG_MPC8641 2016-11-23 23:42:16 -08:00
fsl_lbc.h powerpc: MPC8560: Remove macro CONFIG_MPC8560 2016-11-23 23:42:05 -08:00
fsl_liodn.h net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
fsl_mpc83xx_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_pamu.h powerpc/SECURE_BOOT: Add PAMU driver 2016-02-24 08:40:55 -08:00
fsl_pci.h mpc85xx: pcie: Implement workaround for Erratum A007815 2017-01-24 13:28:31 -08:00
fsl_portals.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_secure_boot.h Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig 2017-05-22 09:33:55 -04:00
fsl_serdes.h fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
fsl_srio.h powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
global_data.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
gpio.h mpc83xx: Add a GPIO driver for the MPC83XX family 2012-01-09 20:10:33 -06:00
immap_83xx.h Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xx 2013-11-25 11:43:46 -08:00
immap_85xx.h powerpc: t1024: Fix SRDS_MAX_LANES value 2017-05-15 09:48:49 -07:00
immap_86xx.h powerpc: MPC8610: Remove macro CONFIG_MPC8610 2016-11-23 23:42:16 -08:00
interrupt.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
io.h powerpc: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
iopin_8xx.h powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks 2017-07-08 15:55:34 -04:00
linkage.h powerpc: Add linkage.h file 2015-02-12 10:35:32 -07:00
mc146818rtc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mmu.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
mp.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xxx_spi.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc85xx_gpio.h powerpc/mpc85xx: Fix compiling error for common/cmd_gpio.c 2015-05-04 09:26:09 -07:00
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 powerpc: Rework interrupt_init_cpu() 2017-08-26 14:56:08 -04:00
processor.h powerpc: Remove 8260 remainders 2017-07-23 09:24:47 -04:00
ptrace.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -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 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
string.h Add strcasecmp() and strncasecmp() 2012-12-11 13:17:34 -07:00
types.h fsl_sec: Add hardware accelerated SHA256 and SHA1 2014-10-16 14:17:07 -07:00
u-boot.h common: powerpc: Move arch-specific headers 2017-06-05 11:02:40 -04:00
unaligned.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
xilinx_irq.h mailaddr: Update mail address 2016-01-27 15:32:05 +01:00