[U-Boot] [PATCH 9/9] armv8: ls1046a: Enable PCIe support

Minghuan Lian Minghuan.Lian at nxp.com
Mon Oct 10 10:47:49 CEST 2016


Signed-off-by: Minghuan Lian <Minghuan.Lian at nxp.com>
---
 include/configs/ls1046a_common.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index 7c5e635..f8f5ee2 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -117,6 +117,21 @@
 #define CONFIG_SYS_I2C_MXC_I2C3
 #define CONFIG_SYS_I2C_MXC_I2C4
 
+/* PCIe */
+#define CONFIG_PCI		/* Enable PCI/PCIE */
+#define CONFIG_DM_PCI		/* Enable driver mode for PCI */
+#define CONFIG_DM_PCI_COMPAT
+#define CONFIG_PCIE_LAYERSCAPE	/* Use common FSL Layerscape PCIe code */
+#define CONFIG_SYS_PCI_64BIT
+
+#ifdef CONFIG_PCI
+#define CONFIG_PCI_PNP
+#define CONFIG_PCI_SCAN_SHOW
+#define CONFIG_CMD_PCI
+#define CONFIG_NET_MULTI
+#define CONFIG_E1000
+#endif
+
 /* Command line configuration */
 #define CONFIG_CMD_ENV
 
-- 
1.9.1



More information about the U-Boot mailing list