Skip to content

MIPS: ar9331: use cache and fix gpio

Antony Pavlov barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15MIPS: probe_scache(): use MIPS_CONF_M linux kernel macroarch/mips/lib/c-r4k.c+2 -30 replies
2/15MIPS: pbl: import cache init code from U-Boot v2016.01-212-ga3ab2aearch/mips/include/asm/cacheops.h arch/mips/include/asm/mipsregs.h arch/mips/include/asm/pbl_macros.h+170 -00 replies
3/15MIPS: black-swift: pbl: init cachearch/mips/boards/black-swift/include/board/board_pbl_start.h+6 -00 replies
4/15MIPS: tplink-mr3020: pbl: init cachearch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h+6 -00 replies
5/15MIPS: add initial R4000-style cache supportarch/mips/include/asm/cacheops.h arch/mips/include/asm/io.h arch/mips/lib/c-r4k.c+58 -04 replies
6/15MIPS: flush cache on shutdownarch/mips/include/asm/cache.h arch/mips/lib/Makefile arch/mips/lib/c-r4k.c +1 more+42 -00 replies
7/15MIPS: implement dma_sync_* functionsarch/mips/Kconfig arch/mips/include/asm/dma-mapping.h arch/mips/lib/Makefile +1 more+69 -10 replies
8/15MIPS: dtb: register only one memory bankarch/mips/boot/dtb.c+7 -50 replies
9/15MIPS: tplink-mr3020_defconfig: use cached memory regionarch/mips/configs/tplink-mr3020_defconfig+2 -00 replies
10/15MIPS: black-swift_defconfig: use cached memory regionarch/mips/configs/black-swift_defconfig+2 -00 replies
11/15MIPS: ath79: pbl: add pbl_ar9331_mdio_gpio_enable macroarch/mips/mach-ath79/include/mach/pbl_macros.h+8 -00 replies
12/15MIPS: black-swift: enable GPIO LEDarch/mips/boards/black-swift/include/board/board_pbl_start.h arch/mips/dts/black-swift.dts+21 -00 replies
13/15MIPS: black-swift: enable GPIO keyarch/mips/dts/black-swift.dts arch/mips/mach-ath79/Kconfig+12 -00 replies
14/15MIPS: black-swift_defconfig: enable gpio-related stuffarch/mips/configs/black-swift_defconfig+6 -00 replies
15/15MIPS: tplink-mr3020: fix "WPS" and "3G" LEDsarch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] MIPS: ar9331: use cache and fix gpio

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
Signature · 7 lines
2.7.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox