This patchseries introduces initial MIPS cache support. Though the cache code is usable for many MIPS-based chips at the moment the code is tested mostly on AR9331 SoC. So I have decided to submit only AR9331-related cache patches and add AR9331 GPIO-related patches to the series. Antony Pavlov (13): MIPS: probe_scache(): use MIPS_CONF_M linux kernel macro MIPS: pbl: import cache init code from U-Boot v2016.01-212-ga3ab2ae MIPS: black-swift: pbl: init cache MIPS: tplink-mr3020: pbl: init cache MIPS: add initial R4000-style cache support MIPS: flush cache on shutdown MIPS: tplink-mr3020_defconfig: use cached memory region MIPS: black-swift_defconfig: use cached memory region MIPS: ath79: pbl: add pbl_ar9331_mdio_gpio_enable macro MIPS: black-swift: enable GPIO LED MIPS: black-swift: enable GPIO key MIPS: black-swift_defconfig: enable gpio-related stuff MIPS: tplink-mr3020: fix "WPS" and "3G" LEDs Peter Mamonov (2): MIPS: implement dma_sync_* functions MIPS: dtb: register only one memory bank arch/mips/Kconfig | 1 + .../black-swift/include/board/board_pbl_start.h | 12 ++ .../tplink-mr3020/include/board/board_pbl_start.h | 12 ++ arch/mips/boot/dtb.c | 12 +- arch/mips/configs/black-swift_defconfig | 8 ++ arch/mips/configs/tplink-mr3020_defconfig | 2 + arch/mips/dts/black-swift.dts | 26 ++++ arch/mips/include/asm/cache.h | 6 + arch/mips/include/asm/cacheops.h | 36 ++++++ arch/mips/include/asm/dma-mapping.h | 11 +- arch/mips/include/asm/io.h | 3 + arch/mips/include/asm/mipsregs.h | 8 ++ arch/mips/include/asm/pbl_macros.h | 133 +++++++++++++++++++++ arch/mips/lib/Makefile | 2 + arch/mips/lib/c-r4k.c | 76 +++++++++++- arch/mips/lib/dma-default.c | 57 +++++++++ arch/mips/lib/shutdown.c | 12 ++ arch/mips/mach-ath79/Kconfig | 1 + arch/mips/mach-ath79/include/mach/pbl_macros.h | 8 ++ 19 files changed, 417 insertions(+), 9 deletions(-) create mode 100644 arch/mips/include/asm/cache.h create mode 100644 arch/mips/include/asm/cacheops.h create mode 100644 arch/mips/lib/dma-default.c create mode 100644 arch/mips/lib/shutdown.c -- 2.7.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox