arm: juno: Enable PCI
authorAndre Przywara <andre.przywara@arm.com>
Thu, 11 Jun 2020 11:03:20 +0000 (12:03 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jul 2020 22:23:48 +0000 (18:23 -0400)
commiteb6211171d1349c43f3b0d0315f31605a0a67f2a
treea3a72ba369135ab4ae00ca505c0f4809b73ab820
parent44a4042b01b547a100c387538196dacfa28b88f4
arm: juno: Enable PCI

The ARM Juno boards in their -r1 and -r2 variants sport a PCIe
controller, which we configure already in board specific code to be ECAM
compliant. Hence we can just enable the generic ECAM driver to let
U-Boot use PCIe devices.

Add the respective options to the Juno defconfig to enable the PCI
framework and the generic ECAM driver, and initialise the driver upon
loading U-Boot.

Make some functions in the Juno PCIe init code static on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
board/armltd/vexpress64/pcie.c
configs/vexpress_aemv8a_juno_defconfig