[U-Boot] [PATCH v2 0/6] sunxi: GPIO, AHCI and Cubieboard 2 support.
Ian Campbell
ijc at hellion.org.uk
Thu Jun 5 19:59:33 CEST 2014
The following enables AHCI support for sun7i boards, which in turn
requires GPIO support. It also adds support for the Cubieboard2 board.
This is based on v2 of Hans' "sunxi: Bug fixes, sun4i and sun5i support,
pmic support and network improvements" series[0]. (Other than e.g.
boards.cfg and Makefile diff context it only actually depends on "sunxi:
Add support for using MII phy-s with the GMAC nic").
I've also pushed to my gitorious tree.
The following changes since commit 59c0bae92aa7491ede8a95a1bd1a1326d5aa938a:
sunxi: Add support for using MII phy-s with the GMAC nic (2014-06-03 21:35:05 +0200)
are available in the git repository at:
git://gitorious.org/ijc/u-boot.git sunxi-gpio-ahci-and-cubieboard2-v2
for you to fetch changes up to 042b84c6857f1492b79bf2261fe8157714b8fa24:
ahci: provide sunxi SATA driver using AHCI platform framework (2014-06-05 18:54:08 +0100)
----------------------------------------------------------------
Ian Campbell (6):
AHCI: Increase link timeout to 200ms
board_r: run scsi init() on ARM too
sunxi: add Cubieboard2 support
sunxi: add gpio driver
sunxi: use setbits_le32 to enable the DMA clock
ahci: provide sunxi SATA driver using AHCI platform framework
arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 7 +-
arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 11 ++-
arch/arm/include/asm/arch-sunxi/gpio.h | 2 +
board/sunxi/Makefile | 2 +
board/sunxi/ahci.c | 84 +++++++++++++++++++++
board/sunxi/dram_cubieboard2.c | 31 ++++++++
boards.cfg | 8 +-
common/board_r.c | 6 +-
drivers/block/ahci.c | 18 ++++-
drivers/gpio/Makefile | 1 +
drivers/gpio/sunxi_gpio.c | 102 ++++++++++++++++++++++++++
include/ahci.h | 4 +
include/configs/sunxi-common.h | 16 ++++
13 files changed, 278 insertions(+), 14 deletions(-)
create mode 100644 board/sunxi/ahci.c
create mode 100644 board/sunxi/dram_cubieboard2.c
create mode 100644 drivers/gpio/sunxi_gpio.c
[0] https://github.com/jwrdegoede/u-boot-sunxi/tree/sun4i-upstreaming-v2
More information about the U-Boot
mailing list