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

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 since V1: 1. Move all SoC specific header files into arch/mips/include/asm/arch-ath79 2. Check SOC type and extract common code into arch/mips/mach-ath79 3. Add a compatible spi driver 4. Move serial driver code into drivers/serial 5. Add a reference board implemention
Wills Wang (4): mips: add base support for atheros ath79 based SOCs mips: ath79: add spi driver mips: ath79: add serial driver for ar933x SOC mips: ath79: add AP121 reference board
arch/mips/Kconfig | 8 + arch/mips/Makefile | 1 + arch/mips/include/asm/arch-ath79/ar71xx_regs.h | 1143 ++++++++++++++++++++++++ arch/mips/include/asm/arch-ath79/ar933x_uart.h | 67 ++ arch/mips/include/asm/arch-ath79/ath79.h | 145 +++ arch/mips/mach-ath79/Makefile | 12 + arch/mips/mach-ath79/ar933x/Makefile | 9 + arch/mips/mach-ath79/ar933x/ddr_tap.S | 272 ++++++ arch/mips/mach-ath79/ar933x/lowlevel_init.S | 534 +++++++++++ arch/mips/mach-ath79/config.mk | 8 + arch/mips/mach-ath79/cpu.c | 274 ++++++ arch/mips/mach-ath79/dram.c | 27 + 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 | 18 + drivers/serial/Makefile | 1 + drivers/serial/serial_ar933x.c | 337 +++++++ drivers/spi/Makefile | 1 + drivers/spi/ath79_spi.c | 142 +++ include/configs/ap121.h | 98 ++ 25 files changed, 3233 insertions(+) create mode 100644 arch/mips/include/asm/arch-ath79/ar71xx_regs.h create mode 100644 arch/mips/include/asm/arch-ath79/ar933x_uart.h create mode 100644 arch/mips/include/asm/arch-ath79/ath79.h 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/config.mk 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/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

On Tuesday, December 22, 2015 at 08:44:41 AM, Wills Wang wrote:
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 since V1:
- 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 spi driver mips: ath79: add serial driver for ar933x SOC mips: ath79: add AP121 reference board
And here I wanted to work on ar9331 over the xmas :) I'm glad someone else is doing this task, please keep me on CC on the patches :)
Best regards, Marek Vasut
participants (2)
-
Marek Vasut
-
Wills Wang