This patch series updates all MIPS asm header files containing I/O code as well as processor, register and assembly definitions. The source of the update are the MIPS asm header files of linux-4.4.
The main goal is to get a complete set of I/O accessors on MIPS and to support platform-specific address spaces and mappings. Also a working ioremap() implementation will be added, which supports platform-specific callbacks. Furthermore support for bit manipulating I/O accessors (clrbits_X, setbits_X, clrsetbits_X) will be added. The patch series is also available on git://git.denx.de/u-boot-mips.git in branch mips_io_v2 and based on next branch. Changes in v3: - newly added due to a regression on MIPS Malta board - rebased to u-boot-mips/next Changes in v2: - fix __ioremap_node() implementation for 64 Bit Daniel Schwierzeck (6): net: pcnet: refactor mapping of virtual addresses to physical ones MIPS: sync I/O related header files with linux-4.4 MIPS: sync processor and register definitions with linux-4.4 MIPS: fix SPDX license identifier in remaining arch header files MIPS: implement bit manipulating I/O accessors MIPS: DO NOT MERGE: test I/O accessors arch/mips/Makefile | 5 +- arch/mips/include/asm/addrspace.h | 10 +- arch/mips/include/asm/asm.h | 126 +- arch/mips/include/asm/bitops.h | 6 +- arch/mips/include/asm/byteorder.h | 6 +- arch/mips/include/asm/cachectl.h | 6 +- arch/mips/include/asm/cacheops.h | 6 +- arch/mips/include/asm/const.h | 31 + arch/mips/include/asm/cpu-features.h | 30 + arch/mips/include/asm/io.h | 813 ++++++----- arch/mips/include/asm/isadep.h | 6 +- .../asm/mach-generic/cpu-feature-overrides.h | 11 + arch/mips/include/asm/mach-generic/ioremap.h | 32 + arch/mips/include/asm/mach-generic/mangle-port.h | 50 + arch/mips/include/asm/mach-generic/spaces.h | 102 ++ arch/mips/include/asm/mipsregs.h | 1495 ++++++++++++++------ arch/mips/include/asm/pgtable-bits.h | 283 ++++ arch/mips/include/asm/posix_types.h | 9 +- arch/mips/include/asm/processor.h | 6 +- arch/mips/include/asm/ptrace.h | 99 +- arch/mips/include/asm/reboot.h | 6 +- arch/mips/include/asm/reg.h | 6 +- arch/mips/include/asm/regdef.h | 12 +- arch/mips/include/asm/sgidefs.h | 6 +- arch/mips/include/asm/string.h | 6 +- arch/mips/include/asm/system.h | 6 +- arch/mips/include/asm/types.h | 6 +- arch/mips/include/asm/unaligned.h | 6 +- arch/mips/lib/cache.c | 4 +- arch/mips/lib/cache_init.S | 16 +- arch/mips/lib/io.c | 183 +++ drivers/net/pcnet.c | 28 +- 32 files changed, 2440 insertions(+), 977 deletions(-) create mode 100644 arch/mips/include/asm/const.h create mode 100644 arch/mips/include/asm/cpu-features.h create mode 100644 arch/mips/include/asm/mach-generic/cpu-feature-overrides.h create mode 100644 arch/mips/include/asm/mach-generic/ioremap.h create mode 100644 arch/mips/include/asm/mach-generic/mangle-port.h create mode 100644 arch/mips/include/asm/mach-generic/spaces.h create mode 100644 arch/mips/include/asm/pgtable-bits.h -- 2.5.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot