freebsd-skq/sys/boot/fdt
loos 608f583b4a Add AHCI attachment code for Allwinner A10/A20 SoCs.
The Allwinner SoC has an AHCI device on its internal main bus rather
than the PCI bus.  This SoC is somewhat underdocumented, and its SATA
controller is no exception.  The methods to support this chip were
harvested from the Linux Allwinner SDK, and then constants invented to
describe what's going on based on low-level constants contained in the
SATA standard and guess work.

This SoC requires a specific AHCI channel setup in order to start the
operations on the channel properly.

Clock setup and AHCI channel setup idea came from NetBSD.

Tested on Cubieboard 2 and Banana pi (and attachment on Cubieboard by
Pratik Singhal).

Differential Revision:	https://reviews.freebsd.org/D737
Submitted by:	imp
Reviewed by:	imp, ganbold, mav, andrew
2015-07-03 14:11:01 +00:00
..
dts Add AHCI attachment code for Allwinner A10/A20 SoCs. 2015-07-03 14:11:01 +00:00
fdt_loader_cmd.c Fix potential NULL dereference. 2015-02-25 09:57:05 +00:00
fdt_platform.h
help.fdt
Makefile Missed change in r276688. Apologies for build breakage. 2015-01-05 16:52:25 +00:00