[U-Boot] [PATCH v3 00/10] Add support for Synology DS414 and some related fixes

Phil Sutter phil at nwl.cc
Fri Dec 25 14:41:16 CET 2015


This is version 3 of my patch series to support Synology DS414 NAS after
rebasing it onto mvebu-dm-spl-2015-12-14 branch of u-boot-a38x.git plus
the following four patches:
* arm: mvebu: Print CPU and SDRAM frequency upon startup
* arm: mvebu: Consolidate board Kconfig options into one file
* arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig
* arm: mvebu: Remove leftover Makefile

The changes since v2 in detail:
* Dropped "mvebu: Fix for non-DM ehci-marvell support".
* Changed implementation of "drivers/pci/pci_mvebu: Fix for boards with
  X4 lanes" to comply with feedback.
* New patch "mvebu: axp: refactor board_sat_r_get() and caller",
  simplifying how serdes_phy_config() gathers board specific satr11 value
  and allowing for boards to override the getter function.
* New patch "mvebu: Introduce kconfig symbols for SoC variants", to
  improve how the SoC variant is selected by boards.
* New patch "mvebu: axp: Rename MV_DDR_32BIT to CONFIG_DDR_32BIT", as
  agreed upon during v2 review.
* Description added to patch "mvebu: Add rudimental MV78230 support".
* Adjusted patch "mvebu: Support Synology DS414" according to upstream
  changes and feedback:
  * Board kconfig integrated into Vendor kconfig file.
  * Build DT blob along with others for CONFIG_ARCH_MVEBU.
  * Make TARGET_DS414 select MV78230.
  * Dropped no longer needed changes to high_speed_env_lib.c.
  * Added missing license/copyright file headers.
  * Removed commented code.
  * Add board-specific board_sat_r_get() function.
  * Statically enable CONFIG_DM_USB.
  * Dropped unused CONFIG_SYS_MVEBU_DDR_AXP and CONFIG_SYNOLOGY_DS414
    defines.
* Moved syno command set into board/Synology directory.

Phil Sutter (10):
  drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY
  README: Review the u-boot porting guide list
  axp: Fix debugging support in DDR3 write leveling
  drivers/pci/pci_mvebu: Fix for boards with X4 lanes
  mvebu: axp: refactor board_sat_r_get() and caller
  mvebu: Introduce kconfig symbols for SoC variants
  mvebu: axp: Rename MV_DDR_32BIT to CONFIG_DDR_32BIT
  mvebu: Add rudimental MV78230 support
  mvebu: Support Synology DS414
  common: Implement Synology specific command set

 README                                             |  11 +-
 arch/arm/dts/Makefile                              |   3 +-
 arch/arm/dts/armada-xp-synology-ds414.dts          | 337 +++++++++++++++++++++
 arch/arm/mach-mvebu/Kconfig                        |  31 +-
 arch/arm/mach-mvebu/cpu.c                          |  16 +-
 arch/arm/mach-mvebu/include/mach/soc.h             |   3 +
 arch/arm/mach-mvebu/serdes/axp/board_env_spec.h    |   2 +-
 .../arm/mach-mvebu/serdes/axp/high_speed_env_lib.c |  52 ++--
 board/Synology/common/Makefile                     |   7 +
 board/Synology/common/cmd_syno.c                   | 227 ++++++++++++++
 board/Synology/ds414/Makefile                      |   7 +
 board/Synology/ds414/ds414.c                       | 185 +++++++++++
 board/Synology/ds414/kwbimage.cfg                  |  12 +
 configs/ds414_defconfig                            |  18 ++
 drivers/ddr/marvell/axp/ddr3_axp_config.h          |   2 +-
 drivers/ddr/marvell/axp/ddr3_axp_mc_static.h       |  20 +-
 drivers/ddr/marvell/axp/ddr3_write_leveling.c      |   4 +-
 drivers/pci/pci_auto_old.c                         |   2 +-
 drivers/pci/pci_mvebu.c                            |  14 +
 include/configs/clearfog.h                         |   1 -
 include/configs/db-88f6820-gp.h                    |   1 -
 include/configs/ds414.h                            | 162 ++++++++++
 22 files changed, 1051 insertions(+), 66 deletions(-)
 create mode 100644 arch/arm/dts/armada-xp-synology-ds414.dts
 create mode 100644 board/Synology/common/Makefile
 create mode 100644 board/Synology/common/cmd_syno.c
 create mode 100644 board/Synology/ds414/Makefile
 create mode 100644 board/Synology/ds414/ds414.c
 create mode 100644 board/Synology/ds414/kwbimage.cfg
 create mode 100644 configs/ds414_defconfig
 create mode 100644 include/configs/ds414.h

-- 
2.5.3



More information about the U-Boot mailing list