Browse Source

armv8: ls1046a: enable PCI command tool

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Hou Zhiqiang 8 years ago
parent
commit
3098e539d6
1 changed files with 10 additions and 0 deletions
  1. 10 0
      include/configs/ls1046a_common.h

+ 10 - 0
include/configs/ls1046a_common.h

@@ -138,6 +138,16 @@
 #define CONFIG_SYS_I2C_MXC_I2C3
 #define CONFIG_SYS_I2C_MXC_I2C3
 #define CONFIG_SYS_I2C_MXC_I2C4
 #define CONFIG_SYS_I2C_MXC_I2C4
 
 
+/* PCIe */
+#define CONFIG_PCIE1		/* PCIE controller 1 */
+#define CONFIG_PCIE2		/* PCIE controller 2 */
+#define CONFIG_PCIE3		/* PCIE controller 3 */
+
+#ifdef CONFIG_PCI
+#define CONFIG_PCI_SCAN_SHOW
+#define CONFIG_CMD_PCI
+#endif
+
 /* Command line configuration */
 /* Command line configuration */
 #ifndef SPL_NO_ENV
 #ifndef SPL_NO_ENV
 #define CONFIG_CMD_ENV
 #define CONFIG_CMD_ENV