[U-Boot] [PATCH v2 0/4] port for the Aspeed ast2500 FMC/SPI controllers

Cédric Le Goater clg at kaod.org
Fri Sep 21 06:39:11 UTC 2018


Hello,

This series adds a driver for the Aspeed ast2500 FMC/SPI controllers
as one can find on the POWER9 OpenPOWER platforms.

It was tested on the AST2500 evb using a w25q256 flash device.

Git tree available here:

  https://github.com/legoater/u-boot/commits/aspeed

Thanks,

C.

Changes since v1:

 - introduced a new large update of the ast2500 DTS file from Linux
 - renamed variables in the read calibration algorithm
 - moved the ast2500 defconfig changes in the patch adding the SPI
   driver

Cédric Le Goater (4):
  aspeed: ast2500: Add AHB clock
  spi: Add support for the Aspeed ast2500 SPI controllers
  aspeed: Update ast2500 Eval Board DTS files to Linux v4.17-rc6 level
  aspeed: Activate SPI support on the ast2500 Eval Board

 .../arm/include/asm/arch-aspeed/scu_ast2500.h |    2 +
 arch/arm/include/asm/arch-aspeed/spi.h        |  114 +
 include/dt-bindings/clock/ast2500-scu.h       |    1 +
 drivers/clk/aspeed/clk_ast2500.c              |   12 +
 drivers/spi/aspeed_spi.c                      |  791 +++++++
 arch/arm/dts/ast2500-evb.dts                  |   15 +
 arch/arm/dts/ast2500-u-boot.dtsi              |   12 +
 arch/arm/dts/ast2500.dtsi                     | 1995 ++++++++++-------
 configs/evb-ast2500_defconfig                 |   10 +
 drivers/spi/Kconfig                           |    8 +
 drivers/spi/Makefile                          |    1 +
 11 files changed, 2164 insertions(+), 797 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-aspeed/spi.h
 create mode 100644 drivers/spi/aspeed_spi.c

-- 
2.17.1



More information about the U-Boot mailing list