vexpress64: Juno: Add initialisation code for Juno R1 PCIe host bridge.
authorLiviu Dudau <Liviu.Dudau@foss.arm.com>
Mon, 19 Oct 2015 10:08:32 +0000 (11:08 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 19 Oct 2015 21:05:46 +0000 (17:05 -0400)
commit2fdc9b741bb5df62f8d2331a8e9974795d034956
tree4b20ab37a929dd90342cdcf4687bce3ee19e6c03
parent2d0cee1ca2b9d977fa3214896bb2e30cfec77059
vexpress64: Juno: Add initialisation code for Juno R1 PCIe host bridge.

Juno R1 has an XpressRICH3 PCIe host bridge that needs to be initialised
in order for the Linux kernel to be able to enumerate the bus. Add
support code here that enables the host bridge, trains the links and
sets up the Address Translation Tables.

Signed-off-by: Liviu Dudau <Liviu.Dudau@foss.arm.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
[trini: Always declare vexpress64_pcie_init and continue handling logic
inside the function]
Signed-off-by: Tom Rini <trini@konsulko.com>
board/armltd/vexpress64/Makefile
board/armltd/vexpress64/pcie.c [new file with mode: 0644]
board/armltd/vexpress64/pcie.h [new file with mode: 0644]
board/armltd/vexpress64/vexpress64.c