[U-Boot] [PATCH v3 0/4] add support for atheros ath79 based SOCs

Wills Wang wills.wang at live.com
Thu Dec 24 12:21:59 CET 2015


These series of patch add support for atheros ath79 based SOCs in u-boot,
at the present moment it's just available for ar933x chip.

Changes in v3:
- Convert serial driver to driver model
- Convert spi driver to driver model
- Add support for device tree
- Move SoC specific header files into arch/mips/mach-ath79/include/mach
- Optimize assembly code
- Same code style convertion

Changes in v2:
- Move all SoC specific header files into arch/mips/include/asm/arch-ath79
- Check SOC type and extract common code into arch/mips/mach-ath79
- Add a compatible spi driver
- Move serial driver code into drivers/serial
- Add a reference board implemention

Wills Wang (4):
  mips: add base support for atheros ath79 based SOCs
  mips: ath79: add serial driver for ar933x SOC
  mips: ath79: add spi driver
  mips: ath79: add AP121 reference board

 arch/mips/Kconfig                               |    8 +
 arch/mips/Makefile                              |    1 +
 arch/mips/config.mk                             |    1 +
 arch/mips/dts/Makefile                          |    2 +-
 arch/mips/dts/ap121.dts                         |   37 +
 arch/mips/dts/ar933x.dtsi                       |   64 ++
 arch/mips/mach-ath79/Makefile                   |    9 +
 arch/mips/mach-ath79/ar933x/Makefile            |    6 +
 arch/mips/mach-ath79/ar933x/ddr_tap.S           |  268 ++++++
 arch/mips/mach-ath79/ar933x/lowlevel_init.S     |  460 +++++++++
 arch/mips/mach-ath79/cpu.c                      |  269 ++++++
 arch/mips/mach-ath79/dram.c                     |   27 +
 arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1144 +++++++++++++++++++++++
 arch/mips/mach-ath79/include/mach/ar933x_uart.h |   66 ++
 arch/mips/mach-ath79/include/mach/ath79.h       |  143 +++
 arch/mips/mach-ath79/include/mach/ddr.h         |   13 +
 arch/mips/mach-ath79/reset.c                    |   55 ++
 board/ath79/ap121/Kconfig                       |   15 +
 board/ath79/ap121/MAINTAINERS                   |    6 +
 board/ath79/ap121/Makefile                      |    8 +
 board/ath79/ap121/README                        |   18 +
 board/ath79/ap121/ap121.c                       |   18 +
 board/ath79/ap121/config.mk                     |   16 +
 configs/ap121_defconfig                         |   42 +
 drivers/serial/Makefile                         |    1 +
 drivers/serial/serial_ar933x.c                  |  274 ++++++
 drivers/spi/Kconfig                             |    6 +
 drivers/spi/Makefile                            |    1 +
 drivers/spi/ath79_spi.c                         |  211 +++++
 include/configs/ap121.h                         |   79 ++
 30 files changed, 3267 insertions(+), 1 deletion(-)
 create mode 100644 arch/mips/dts/ap121.dts
 create mode 100644 arch/mips/dts/ar933x.dtsi
 create mode 100644 arch/mips/mach-ath79/Makefile
 create mode 100644 arch/mips/mach-ath79/ar933x/Makefile
 create mode 100644 arch/mips/mach-ath79/ar933x/ddr_tap.S
 create mode 100644 arch/mips/mach-ath79/ar933x/lowlevel_init.S
 create mode 100644 arch/mips/mach-ath79/cpu.c
 create mode 100644 arch/mips/mach-ath79/dram.c
 create mode 100644 arch/mips/mach-ath79/include/mach/ar71xx_regs.h
 create mode 100644 arch/mips/mach-ath79/include/mach/ar933x_uart.h
 create mode 100644 arch/mips/mach-ath79/include/mach/ath79.h
 create mode 100644 arch/mips/mach-ath79/include/mach/ddr.h
 create mode 100644 arch/mips/mach-ath79/reset.c
 create mode 100644 board/ath79/ap121/Kconfig
 create mode 100644 board/ath79/ap121/MAINTAINERS
 create mode 100644 board/ath79/ap121/Makefile
 create mode 100644 board/ath79/ap121/README
 create mode 100644 board/ath79/ap121/ap121.c
 create mode 100644 board/ath79/ap121/config.mk
 create mode 100644 configs/ap121_defconfig
 create mode 100644 drivers/serial/serial_ar933x.c
 create mode 100644 drivers/spi/ath79_spi.c
 create mode 100644 include/configs/ap121.h

-- 
1.9.1



More information about the U-Boot mailing list