u-boot-brain/board/sunxi
Ian Campbell a6e50a88d8 ahci: provide sunxi SATA driver using AHCI platform framework
This enables the necessary clocks, in AHB0 and in PLL6_CFG. This is done
for sun7i only since I don't have access to any other sunxi platforms
with sata included.

The PHY setup is derived from the Alwinner releases and Linux, but is mostly
undocumented.

The Allwinner AHCI controller also requires some magic (and, again,
undocumented) DMA initialisation when starting a port.  This is added under a
suitable ifdef.

This option is enabled for Cubieboard, Cubieboard2 and Cubietruck based on
contents of Linux DTS files, including SATA power pin config taken from the
DTS. All build tested, but runtime tested on Cubieboard2 and Cubietruck only.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-07-31 15:37:22 +02:00
..
ahci.c ahci: provide sunxi SATA driver using AHCI platform framework 2014-07-31 15:37:22 +02:00
board.c sunxi: use random parts of SID to set ethaddr 2014-07-18 19:42:22 +01:00
dram_a13_oli_micro.c sunxi: Add sun5i support 2014-07-06 20:12:44 +01:00
dram_cubieboard.c sunxi: Add sun4i support 2014-07-06 20:12:44 +01:00
dram_cubieboard2.c sunxi: add Cubieboard2 support 2014-07-18 19:42:23 +01:00
dram_cubietruck.c sunxi: add support for Cubietruck booting in FEL mode 2014-05-25 16:15:17 +02:00
dram_r7dongle.c sunxi: Add sun5i support 2014-07-06 20:12:44 +01:00
gmac.c sunxi: Add support for using MII phy-s with the GMAC nic 2014-07-06 20:12:45 +01:00
Kconfig kconfig: add board Kconfig and defconfig files 2014-07-30 08:48:01 -04:00
MAINTAINERS Add board MAINTAINERS files 2014-07-30 08:48:06 -04:00
Makefile ahci: provide sunxi SATA driver using AHCI platform framework 2014-07-31 15:37:22 +02:00