diff mbox series

[U-Boot,3/3] armv8: ls1088a: Enable PCIe in defconfigs

Message ID 20170904024754.34064-4-Zhiqiang.Hou@nxp.com
State Accepted
Delegated to: York Sun
Headers show
Series armv8: ls1088a: add pcie support | expand

Commit Message

Z.Q. Hou Sept. 4, 2017, 2:47 a.m. UTC
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

Enabled PCIe support and PCI command feature.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
 configs/ls1088aqds_qspi_defconfig        | 4 ++++
 configs/ls1088aqds_sdcard_qspi_defconfig | 4 ++++
 configs/ls1088ardb_qspi_defconfig        | 4 ++++
 configs/ls1088ardb_sdcard_qspi_defconfig | 4 ++++
 include/configs/ls1088a_common.h         | 4 ++++
 5 files changed, 20 insertions(+)

Comments

York Sun Sept. 7, 2017, 8:06 p.m. UTC | #1
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> 
> Enabled PCIe support and PCI command feature.
> 
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> ---
>   configs/ls1088aqds_qspi_defconfig        | 4 ++++
>   configs/ls1088aqds_sdcard_qspi_defconfig | 4 ++++
>   configs/ls1088ardb_qspi_defconfig        | 4 ++++
>   configs/ls1088ardb_sdcard_qspi_defconfig | 4 ++++
>   include/configs/ls1088a_common.h         | 4 ++++
>   5 files changed, 20 insertions(+)
> 

If the sdcard patches cannot be merged in time, I will drop those two 
defconfig change and merge the rest.

York
Z.Q. Hou Sept. 8, 2017, 3:12 a.m. UTC | #2
Hi York,

> -----Original Message-----

> From: York Sun

> Sent: 2017年9月8日 4:07

> To: Z.q. Hou <zhiqiang.hou@nxp.com>; u-boot@lists.denx.de; Ashish Kumar

> <ashish.kumar@nxp.com>; Prabhakar Kushwaha

> <prabhakar.kushwaha@nxp.com>; M.h. Lian <minghuan.lian@nxp.com>

> Subject: Re: [PATCH 3/3] armv8: ls1088a: Enable PCIe in defconfigs

> 

> On 09/03/2017 08:05 PM, Zhiqiang Hou wrote:

> > From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

> >

> > Enabled PCIe support and PCI command feature.

> >

> > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

> > ---

> >   configs/ls1088aqds_qspi_defconfig        | 4 ++++

> >   configs/ls1088aqds_sdcard_qspi_defconfig | 4 ++++

> >   configs/ls1088ardb_qspi_defconfig        | 4 ++++

> >   configs/ls1088ardb_sdcard_qspi_defconfig | 4 ++++

> >   include/configs/ls1088a_common.h         | 4 ++++

> >   5 files changed, 20 insertions(+)

> >

> 

> If the sdcard patches cannot be merged in time, I will drop those two defconfig

> change and merge the rest.


Ok, I will submit them again as soon as sdcard patches are ready.

Thanks,
Zhiqiang
York Sun Sept. 13, 2017, 2:36 a.m. UTC | #3
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> 
> Enabled PCIe support and PCI command feature.
> 
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> ---

Applied to fsl-qoriq master. Thanks.

York
diff mbox series

Patch

diff --git a/configs/ls1088aqds_qspi_defconfig b/configs/ls1088aqds_qspi_defconfig
index 6fff149fb6..4b0d604fa0 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/ls1088aqds_sdcard_qspi_defconfig b/configs/ls1088aqds_sdcard_qspi_defconfig
index 95d86274bd..4a8a89bba3 100644
--- a/configs/ls1088aqds_sdcard_qspi_defconfig
+++ b/configs/ls1088aqds_sdcard_qspi_defconfig
@@ -23,6 +23,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_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
diff --git a/configs/ls1088ardb_qspi_defconfig b/configs/ls1088ardb_qspi_defconfig
index 33e41247e6..2d5a134261 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/configs/ls1088ardb_sdcard_qspi_defconfig b/configs/ls1088ardb_sdcard_qspi_defconfig
index c226bc1782..7d3b00be0e 100644
--- a/configs/ls1088ardb_sdcard_qspi_defconfig
+++ b/configs/ls1088ardb_sdcard_qspi_defconfig
@@ -23,6 +23,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_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h
index b79db5a3ae..16187ac386 100644
--- a/include/configs/ls1088a_common.h
+++ b/include/configs/ls1088a_common.h
@@ -50,6 +50,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)