From: Stefan Roese Date: Thu, 27 Oct 2016 11:36:45 +0000 (+0200) Subject: arm64: mvebu: Add PCI support to DB-88F8040 board X-Git-Tag: v2017.01-rc1~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ec5aa630a02174734725ce49bd5351ad5037c2e;p=u-boot arm64: mvebu: Add PCI support to DB-88F8040 board This patch adds PCI support to the Marvell Armada-8K devel board. Additionally the Intel E1000 ethernet driver is enabled so that network support is available on this board, even without the internal network interfaces being supported (yet). Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc: Kostya Porotchkin Cc: Omri Itach Cc: Igal Liberman Cc: Haim Boot Cc: Hanna Hawa --- diff --git a/configs/mvebu_db-88f8040_defconfig b/configs/mvebu_db-88f8040_defconfig index eccb0f0c8f..61d58b50c2 100644 --- a/configs/mvebu_db-88f8040_defconfig +++ b/configs/mvebu_db-88f8040_defconfig @@ -36,6 +36,9 @@ CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_STMICRO=y CONFIG_PHYLIB=y +CONFIG_PCI=y +CONFIG_DM_PCI=y +CONFIG_PCIE_DW_MVEBU=y CONFIG_MVEBU_COMPHY_SUPPORT=y # CONFIG_SPL_SERIAL_PRESENT is not set CONFIG_DEBUG_UART=y diff --git a/include/configs/mvebu_armada-8k.h b/include/configs/mvebu_armada-8k.h index 3b35cb39b9..8ab5bbee7d 100644 --- a/include/configs/mvebu_armada-8k.h +++ b/include/configs/mvebu_armada-8k.h @@ -128,4 +128,12 @@ #define CONFIG_CMD_PART #define CONFIG_PARTITION_UUIDS +/* + * PCI configuration + */ +#ifdef CONFIG_PCIE_DW_MVEBU +#define CONFIG_E1000 +#define CONFIG_CMD_PCI +#endif + #endif /* _CONFIG_MVEBU_ARMADA_8K_H */