diff mbox

[U-Boot,14/15] arm64: mvebu: Add PCI support to DB-88F8040 board

Message ID 20161115090831.8426-14-sr@denx.de
State Accepted
Commit 1ec5aa630a02174734725ce49bd5351ad5037c2e
Delegated to: Stefan Roese
Headers show

Commit Message

Stefan Roese Nov. 15, 2016, 9:08 a.m. UTC
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 <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Neta Zur Hershkovits <neta@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Omri Itach <omrii@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
---
 configs/mvebu_db-88f8040_defconfig | 3 +++
 include/configs/mvebu_armada-8k.h  | 8 ++++++++
 2 files changed, 11 insertions(+)
diff mbox

Patch

diff --git a/configs/mvebu_db-88f8040_defconfig b/configs/mvebu_db-88f8040_defconfig
index eccb0f0..61d58b5 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 3b35cb3..8ab5bbe 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 */