]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit91fc0e527b53b882a2b3a28e61c374a8897399fc
treea3a72ba369135ab4ae00ca505c0f4809b73ab820
parenta6eba573fb4be6f0ce53f15707035259d662b0b4
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