aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2017-09-04 10:47:54 +0800
committerYork Sun <york.sun@nxp.com>2017-09-11 08:01:07 -0700
commit4950eb4a48623d8ad013c1f37097906ec52040d1 (patch)
treeb09733e38a193a73c955e1b70fdcf21ca6332236
parent4c5c87da7b73698bb43d2e522038f82e91c0906a (diff)
downloadu-boot-4950eb4a48623d8ad013c1f37097906ec52040d1.zip
u-boot-4950eb4a48623d8ad013c1f37097906ec52040d1.tar.gz
u-boot-4950eb4a48623d8ad013c1f37097906ec52040d1.tar.bz2
armv8: ls1088a: Enable PCIe in defconfigs
Enabled PCIe support and PCI command feature. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--configs/ls1088aqds_qspi_defconfig4
-rw-r--r--configs/ls1088ardb_qspi_defconfig4
-rw-r--r--include/configs/ls1088a_common.h4
3 files changed, 12 insertions, 0 deletions
diff --git a/configs/ls1088aqds_qspi_defconfig b/configs/ls1088aqds_qspi_defconfig
index 6fff149..4b0d604 100644
--- a/configs/ls1088aqds_qspi_defconfig
+++ b/configs/ls1088aqds_qspi_defconfig
@@ -22,6 +22,10 @@ CONFIG_DM=y
CONFIG_SPI_FLASH=y
CONFIG_NETDEVICES=y
CONFIG_E1000=y
+CONFIG_PCI=y
+CONFIG_DM_PCI=y
+CONFIG_DM_PCI_COMPAT=y
+CONFIG_PCIE_LAYERSCAPE=y
CONFIG_SYS_NS16550=y
CONFIG_FSL_DSPI=y
CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
diff --git a/configs/ls1088ardb_qspi_defconfig b/configs/ls1088ardb_qspi_defconfig
index 33e4124..2d5a134 100644
--- a/configs/ls1088ardb_qspi_defconfig
+++ b/configs/ls1088ardb_qspi_defconfig
@@ -22,6 +22,10 @@ CONFIG_DM=y
CONFIG_SPI_FLASH=y
CONFIG_NETDEVICES=y
CONFIG_E1000=y
+CONFIG_PCI=y
+CONFIG_DM_PCI=y
+CONFIG_DM_PCI_COMPAT=y
+CONFIG_PCIE_LAYERSCAPE=y
CONFIG_SYS_NS16550=y
CONFIG_FSL_DSPI=y
CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h
index c78ba5d..84e9b14 100644
--- a/include/configs/ls1088a_common.h
+++ b/include/configs/ls1088a_common.h
@@ -44,6 +44,10 @@
*/
#define CPU_RELEASE_ADDR secondary_boot_func
+#ifdef CONFIG_PCI
+#define CONFIG_CMD_PCI
+#endif
+
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2048 * 1024)