[U-Boot] [PATCH 00/12] arm: socfpga: Arria V support and fixes

Marek Vasut marex at denx.de
Wed Dec 31 20:14:48 CET 2014


This series brings in a couple of minor fixes (mostly coding
style and sync with rocketboards u-boot) and improvements
(USB UMS and DFU support for Cyclone V SoC DK). There are
also fixes for DT properties in this series to make those
compatible with Linux.

This series also adds Arria V SoC DK support. By adding the
Arria V support, the pieces of code which are specific to a
particular CPU model are now clearly isolated by an #ifdef.
These #ifdef mark code which should be easy to dissolve and
migrate into DT in the next step.

While at this, the SoCFPGA platform is made dependent on having
a proper Device Tree available (attached at the end of U-Boot
binary). The board name is no longer hard-coded into the U-Boot
binary, but is instead extracted from the DT ; this is the first
step toward moving to DT altogether. At this point, no new SoCFPGA
platform without DT is accepted anymore.

Note: The DT files imported in this series come from Linux 3.18
      mainline.

Marek Vasut (12):
  arm: socfpga: Minor coding style fix
  arm: socfpga: Sync Cyclone V DK pinmux configuration
  arm: socfpga: Sync Cyclone V DK PLL configuration
  arm: socfpga: Add USB and UDC support for Cyclone V DK
  arm: socfpga: Drop cyclone5 suffix from board file name
  arm: socfpga: Add Altera Arria V DK support
  dt: socfpga: Rename snps,dw-spi-mmio to snps,dw-apb-ssi
  dt: socfpga: Replace num-chipselect with num-cs
  dt: socfpga: Import and enable Cyclone V DK DTS
  dt: socfpga: Import and enable Arria V DK DTS
  arm: socfpga: Zap checkboard()
  arm: socfpga: Zap board_early_init_f()

 arch/arm/Kconfig                                   |   5 +
 arch/arm/dts/Makefile                              |   5 +-
 arch/arm/dts/socfpga.dtsi                          |  10 +-
 arch/arm/dts/socfpga_arria5.dtsi                   |  34 +
 arch/arm/dts/socfpga_arria5_socdk.dts              |  74 +++
 arch/arm/dts/socfpga_cyclone5_socdk.dts            |  79 +++
 board/altera/socfpga/Kconfig                       |  16 +
 board/altera/socfpga/Makefile                      |   2 +-
 board/altera/socfpga/iocsr_config.c                | 688 +++++++++++++++++++++
 board/altera/socfpga/iocsr_config.h                |  17 +-
 board/altera/socfpga/pinmux_config.c               | 403 +++++++++---
 board/altera/socfpga/pinmux_config.h               |  14 +-
 board/altera/socfpga/pll_config.h                  |  34 +-
 .../socfpga/{socfpga_cyclone5.c => socfpga.c}      |  17 -
 configs/socfpga_arria5_defconfig                   |   5 +
 configs/socfpga_cyclone5_defconfig                 |   2 +
 drivers/spi/designware_spi.c                       |   2 +-
 include/configs/socfpga_arria5.h                   | 107 ++++
 include/configs/socfpga_common.h                   |   3 +-
 include/configs/socfpga_cyclone5.h                 |   9 +
 20 files changed, 1371 insertions(+), 155 deletions(-)
 create mode 100644 arch/arm/dts/socfpga_arria5.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria5_socdk.dts
 create mode 100644 arch/arm/dts/socfpga_cyclone5_socdk.dts
 rename board/altera/socfpga/{socfpga_cyclone5.c => socfpga.c} (86%)
 create mode 100644 configs/socfpga_arria5_defconfig
 create mode 100644 include/configs/socfpga_arria5.h

Cc: Chin Liang See <clsee at opensource.altera.com>
Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
Cc: Pavel Machek <pavel at denx.de>
Cc: Stefan Roese <sr at denx.de>
Cc: Vince Bridgers <vbridger at opensource.altera.com>

-- 
2.1.3



More information about the U-Boot mailing list