diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-06-11 14:03:20 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-08 01:23:48 +0300 |
commit | eb6211171d1349c43f3b0d0315f31605a0a67f2a (patch) | |
tree | a3a72ba369135ab4ae00ca505c0f4809b73ab820 /configs | |
parent | 44a4042b01b547a100c387538196dacfa28b88f4 (diff) | |
download | u-boot-eb6211171d1349c43f3b0d0315f31605a0a67f2a.tar.xz |
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/vexpress_aemv8a_juno_defconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/vexpress_aemv8a_juno_defconfig b/configs/vexpress_aemv8a_juno_defconfig index 49acb34310..4866a0e9d5 100644 --- a/configs/vexpress_aemv8a_juno_defconfig +++ b/configs/vexpress_aemv8a_juno_defconfig @@ -32,6 +32,11 @@ CONFIG_CMD_UBI=y # CONFIG_ISO_PARTITION is not set # CONFIG_EFI_PARTITION is not set CONFIG_OF_BOARD=y +CONFIG_PCI=y +CONFIG_DM_PCI=y +CONFIG_PCIE_ECAM_GENERIC=y +CONFIG_DM_PCI_COMPAT=y +CONFIG_CMD_PCI=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_ENV_ADDR=0xBFC0000 # CONFIG_MMC is not set |