[U-Boot] [PATCH v2 20/30] x86: ivybridge: Add SATA init
Simon Glass
sjg at chromium.org
Tue Nov 25 03:48:51 CET 2014
On 14 November 2014 at 18:18, Simon Glass <sjg at chromium.org> wrote:
> Add code to set up the SATA interfaces on boot.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Move common SATA init to a function to reduce duplication
> - Use pci_write_bar32() to write to BARs
>
> arch/x86/cpu/ivybridge/Makefile | 1 +
> arch/x86/cpu/ivybridge/bd82x6x.c | 20 +++
> arch/x86/cpu/ivybridge/sata.c | 225 ++++++++++++++++++++++++++
> arch/x86/include/asm/arch-ivybridge/bd82x6x.h | 2 +
> arch/x86/include/asm/arch-ivybridge/pch.h | 58 +++++++
> doc/device-tree-bindings/ata/intel-sata.txt | 26 +++
> include/fdtdec.h | 1 +
> lib/fdtdec.c | 1 +
> 8 files changed, 334 insertions(+)
> create mode 100644 arch/x86/cpu/ivybridge/sata.c
> create mode 100644 doc/device-tree-bindings/ata/intel-sata.txt
Applied to u-boot-x86.
More information about the U-Boot
mailing list