[U-Boot] [PATCH] powerpc/espi: remove 80us delay to improve transfer performance

2014-05-21 Thread Hou Zhiqiang
Replace 80 mircoseconds delay with polling flag ESPI_EV_TXE. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- drivers/spi/fsl_espi.c | 138 + 1 file changed, 106 insertions(+), 32 deletions(-) diff --git a/drivers/spi/fsl_espi.c b/drivers/spi

[U-Boot] [PATCH V2] sf: Add support for flag status register on Micron chips

2014-10-11 Thread Hou Zhiqiang
completion. Signed-off-by: Hou Zhiqiang b48...@freescale.com Signed-off-by: Mingkai.Hu mingkai...@freescale.com --- V1: Based on git://git.denx.de/u-boot.git. Also can be applied to git://www.denx.de/git/u-boot-mpc85xx.git. Tested on board T2080QDS and T2080RDB. V2: Add the operation of enter 3

[U-Boot] [PATCH] sf: Add support for flag status register on Micron chips

2014-08-29 Thread Hou Zhiqiang
Add clear flag status register operation that some Micron SPI flash chips required after reading the flag status register to check some operations completion. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- Based on git://git.denx.de/u-boot.git. It also can be applied to git://www.denx.de

[U-Boot] [PATCH] powerpc/t104xrdb: Enable SPI flash Extend address support

2014-09-17 Thread Hou Zhiqiang
Enable the Extend address to support SPI flash more than 16MB. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- Based on git://git.denx.de/u-boot.git. Also can be applied to git://www.denx.de/git/u-boot-mpc85xx.git. Tested on board T1040RDB. include/configs/T104xRDB.h | 1 + 1 file changed

Re: [U-Boot] [PATCH V3] sf: Add support for flag status register on Micron chips

2015-05-24 Thread Hou Zhiqiang
Hi Jagan, So much long time no comment, could you please apply this patch? Thanks, Zhiqiang -Original Message- From: Zhiqiang Hou [mailto:b48...@freescale.com] Sent: 2015年5月11日 16:35 To: u-boot@lists.denx.de; jt...@openedev.com Cc: Sun York-R58495; Hu Mingkai-B21284; Hou Zhiqiang

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Hou Zhiqiang
-Original Message- From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] Sent: 2015年8月13日 17:18 To: Hou Zhiqiang-B48286; u-boot@lists.denx.de; jt...@openedev.com Cc: Sun York-R58495; Hu Mingkai-B21284; nofooter Subject: RE: [PATCH V6] sf: Turn SPI flash chip

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-19 Thread Hou Zhiqiang
Hello Jagannadha and Siva, Do you have any idea for if there should be a shift upon the flash size? If yes, why there isn't one when initializing the BAR read/write commands? -Original Message- From: Hou Zhiqiang-B48286 Sent: 2015年8月14日 18:02 To: 'Siva Durga Prasad Paladugu'; u-boot

Re: [U-Boot] [PATCH 0/6] sf: BAR/wait_ready logic updates

2015-08-17 Thread Hou Zhiqiang
Hello Jagan, -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月16日 16:50 To: u-boot@lists.denx.de; Hou Zhiqiang-B48286; Sun York-R58495 Cc: Jagan Teki Subject: Re: [PATCH 0/6] sf: BAR/wait_ready logic updates Hi Zhiqiang, On 16 August 2015 at 14:16

Re: [U-Boot] [V4 2/2] sf: Turn SPI flash into 3-Byte address mode on Micron chips

2015-08-11 Thread Hou Zhiqiang
-Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月11日 1:10 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Sun York-R58495 Subject: Re: [U-Boot] [V4 2/2] sf: Turn SPI flash into 3-Byte address mode on Micron chips On 10 August 2015 at 08:28, Hou

Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips

2015-08-11 Thread Hou Zhiqiang
-Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月11日 1:06 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Hu Mingkai-B21284 Subject: Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips On 23 July 2015 at 15:24

Re: [U-Boot] [PATCH V5 2/2] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-11 Thread Hou Zhiqiang
-Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月11日 19:45 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Siva Durga Prasad Paladugu; Sun York-R58495 Subject: Re: [U-Boot] [PATCH V5 2/2] sf: Turn SPI flash chip into 3-Byte address mode On 11

Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips

2015-08-06 Thread Hou Zhiqiang
Hi Jagan, Do you have any feedback? -Original Message- From: Zhiqiang Hou [mailto:b48...@freescale.com] Sent: 2015年7月23日 17:54 To: u-boot@lists.denx.de; jt...@openedev.com Cc: Sun York-R58495; Hu Mingkai-B21284; Hou Zhiqiang-B48286; Hu Mingkai- B21284 Subject: [V4 1/2] sf: Add

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-13 Thread Hou Zhiqiang
, it will crash when kernel set the spi flash to 4-Byte address mode. -Original Message- From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] Sent: 2015年8月13日 20:48 To: Jagan Teki Cc: Stefan Roese; Hou Zhiqiang-B48286; u-boot@lists.denx.de; nofooter; Sun York-R58495 Subject

Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips

2015-08-09 Thread Hou Zhiqiang
-Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月7日 16:22 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Hu Mingkai-B21284 Subject: Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips On 23 July 2015 at 15:24

Re: [U-Boot] [V4 2/2] sf: Turn SPI flash into 3-Byte address mode on Micron chips

2015-08-09 Thread Hou Zhiqiang
Hi Jagan, Do you have any feedback? -Original Message- From: Zhiqiang Hou [mailto:b48...@freescale.com] Sent: 2015年7月23日 17:54 To: u-boot@lists.denx.de; jt...@openedev.com Cc: Sun York-R58495; Hu Mingkai-B21284; Hou Zhiqiang-B48286 Subject: [V4 2/2] sf: Turn SPI flash into 3-Byte

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-14 Thread Hou Zhiqiang
Hi Jagannadha, See Siva's comments inline and For the DUAL spi flash memories, do you have any comment? -Original Message- From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] Sent: 2015年8月14日 12:55 To: Hou Zhiqiang-B48286; u-boot@lists.denx.de; jt

Re: [U-Boot] [PATCH V3] sf: Add support for flag status register on Micron chips

2015-07-23 Thread Hou Zhiqiang
] Sent: 2015年6月19日 16:21 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Sun York-R58495; Hu Mingkai-B21284 Subject: Re: [PATCH V3] sf: Add support for flag status register on Micron chips I think you may missed my comment on v2 [1] Just check with master. If something not works well

Re: [U-Boot] [Patch V7 04/18] net/fm/eth: Use mb() to be compatible for both ARM and PowerPC

2015-10-23 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年10月23日 7:11 > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > Zhiqiang-B48286; Xie Shaohui-B21989; Song Wenbin-B53747; Wood Scott- > B07421; Kushwaha Prabha

Re: [U-Boot] [Patch V6 11/18] armv8/fsl_lsch3: Change arch to fsl-layerscape

2015-10-22 Thread Hou Zhiqiang
> -Original Message- > From: Gong Qianyu [mailto:b52...@rhuath.am.freescale.net] > Sent: 2015年10月19日 19:59 > To: u-boot@lists.denx.de > Cc: Hu Mingkai-B21284; Sun York-R58495; Hou Zhiqiang-B48286; Xie Shaohui- > B21989; Song Wenbin-B53747; Wood Scott-B07421; Kushwah

Re: [U-Boot] [Patch V6 01/18] armv7/ls1021a: move ns_access to common file

2015-10-22 Thread Hou Zhiqiang
> -Original Message- > From: Gong Qianyu [mailto:b52...@rhuath.am.freescale.net] > Sent: 2015年10月19日 19:59 > To: u-boot@lists.denx.de > Cc: Hu Mingkai-B21284; Sun York-R58495; Hou Zhiqiang-B48286; Xie Shaohui- > B21989; Song Wenbin-B53747; Wood Scott-B07421; Kushwah

Re: [U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-24 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年9月18日 2:14 > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > Zhiqiang-B48286; Song Wenbin-B53747; Xie Shaohui-B21989; Wood Scott- > B07421 > Subject: Re: [Pat

Re: [U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-24 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年9月25日 10:34 > To: Hou Zhiqiang-B48286 > Cc: Gong Qianyu-B52263; u-boot@lists.denx.de; Hu Mingkai-B21284; Sun > York-R58495; Song Wenbin-B53747; Xie Shaohui-B21989 > Subject: Re: [Patch v2 08/16] net/fm:

Re: [U-Boot] [PATCH v6 2/2] armv8: fsl-layerscape: Make DDR non secure in MMU tables

2015-12-02 Thread Hou Zhiqiang
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: 2015年12月3日 0:00 > To: Hou Zhiqiang-B48286; U-Boot Mailing List > Cc: Pan Lijun-B44306; Hu Mingkai-B21284; Sharma Bhupesh-B45370; Gong > Qianyu-B52263; Tom Rini; Li Yang-Leo-R58472; Albert

Re: [U-Boot] [PATCH v6 2/2] armv8: fsl-layerscape: Make DDR non secure in MMU tables

2015-12-02 Thread Hou Zhiqiang
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: 2015年12月3日 11:05 > To: Hou Zhiqiang-B48286; U-Boot Mailing List > Cc: Pan Lijun-B44306; Hu Mingkai-B21284; Sharma Bhupesh-B45370; Gong > Qianyu-B52263; Tom Rini; Li Yang-Leo-R58472; Albert

Re: [U-Boot] [PATCH v6 2/2] armv8: fsl-layerscape: Make DDR non secure in MMU tables

2015-12-01 Thread Hou Zhiqiang
Hi York, > -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: 2015年11月19日 2:02 > To: U-Boot Mailing List > Cc: Sun York-R58495; Pan Lijun-B44306; Hu Mingkai-B21284; Sharma Bhupesh- > B45370; Gong Qianyu-B52263; Tom Rini; Li Yang-Leo-R58472; Alb

[U-Boot] [PATCHv2 02/14] powerpc: Enable device tree support for T2080RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T2080RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/t2080rdb.dts | 17

[U-Boot] [PATCHv2 04/14] powerpc: Enable device tree support for T1024RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T1024RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/e5500_power_isa.dtsi | 34

[U-Boot] [PATCHv2 00/14] powerpc: Enable device tree support

2019-08-20 Thread Hou Zhiqiang
This patch is to enable device tree support for the Freescale PowerPC platforms below. Hou Zhiqiang (14): powerpc: mpc85xx: Add device tree support option for PBL boot image powerpc: Enable device tree support for T2080RDB powerpc: Enable device tree support for T4240RDB powerpc: Enable

[U-Boot] [PATCHv2 01/14] powerpc: mpc85xx: Add device tree support option for PBL boot image

2019-08-20 Thread Hou Zhiqiang
The current Makefile always use u-boot.bin to generate PBL boot image (u-boot.pbl), this patch changes it to use u-boot-with-dtb.bin to support device tree when CONFIG_OF_SEPARATE is enabled. Signed-off-by: Hou Zhiqiang --- V2: - New patch. Makefile | 8 +++- 1 file changed, 7 insertions

[U-Boot] [PATCHv2 03/14] powerpc: Enable device tree support for T4240RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T4240RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/t4240.dtsi | 102 ++ arch/powerpc/dts

[U-Boot] [PATCHv2 07/14] powerpc: Enable device tree support for P2020RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for P1020RDB boards and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile| 1 + arch/powerpc/dts/p2020-post.dtsi

[U-Boot] [PATCHv2 10/14] powerpc: Enable device tree support for P4080DS

2019-08-20 Thread Hou Zhiqiang
Add device tree for P4080DS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/p4080.dtsi| 83 ++ arch/powerpc/dts

[U-Boot] [PATCHv2 11/14] powerpc: Enable device tree support for P5040DS

2019-08-20 Thread Hou Zhiqiang
Add device tree for P5040DS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/p5040.dtsi| 62 ++ arch/powerpc/dts

[U-Boot] [PATCHv2 05/14] powerpc: Enable device tree support for T1042D4RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T1042D4RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/t1042d4rdb.dts | 17

[U-Boot] [PATCHv2 09/14] powerpc: Enable device tree support for P3041DS

2019-08-20 Thread Hou Zhiqiang
Add device tree for P3041DS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/p3041.dtsi| 63 ++ arch/powerpc/dts

[U-Boot] [PATCHv2 08/14] powerpc: Enable device tree support for P2041RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for P1041RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/e500mc_power_isa.dtsi | 33

[U-Boot] [PATCHv2 06/14] powerpc: Enable device tree support for P1020RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for P1020RDB boards and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile| 2 ++ arch/powerpc/dts/e500v2_power_isa.dtsi

[U-Boot] [PATCHv2 14/14] powerpc: Enable device tree support for MPC8548CDS

2019-08-20 Thread Hou Zhiqiang
Add device tree for MPC8548CDS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/mpc8548-post.dtsi | 27 +++ arch/powerpc/dts/mpc8548

[U-Boot] [PATCHv2 12/14] powerpc: dts: add default definition of CONFIG_RESET_VECTOR_ADDRESS

2019-08-20 Thread Hou Zhiqiang
/dt.dtb' failed make: *** [dts/dt.dtb] Error 2 Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/u-boot.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/dts/u-boot.dtsi b/arch/powerpc/dts/u-boot.dtsi index 213d543..9661f4d 100644 --- a/arch/powerpc/dts/u

[U-Boot] [PATCHv2 13/14] powerpc: mpc8548cds: extend the reserved length for monitor

2019-08-20 Thread Hou Zhiqiang
' failed make: *** [u-boot-with-dtb.bin] Error 1 Signed-off-by: Hou Zhiqiang --- V2: - No change. include/configs/MPC8548CDS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h index b37601c..4252fbe 100644

[U-Boot] [PATCH] dm: pci: Change to config device according to Header Type

2019-08-05 Thread Hou Zhiqiang
The configuration space layouts of normal device, bridge and CardBus bridge are distinct, and it is indicated by Header Type instead of Class Code. So change it to config device according to Header Type. Signed-off-by: Hou Zhiqiang --- drivers/pci/pci_auto.c | 60

[U-Boot] [PATCH 2/3] dm: pcie_fsl: Fix the Class Code fixup function

2019-07-23 Thread Hou Zhiqiang
The Class Code fixup method was changed from PCIe block revision 3.0, the current fixup is only valid for the revision 3.0 and the later ones. This patch is to add the Class Code fixup for the block revision < 3.0. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c |

[U-Boot] [PATCH 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

2019-07-23 Thread Hou Zhiqiang
-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 2 +- drivers/pci/pcie_fsl.h | 6 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index bfb207e..999e9c9 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -445,7 +445,7

[U-Boot] [PATCH 0/3] dm: pcie_fsl: Fix some issues

2019-07-23 Thread Hou Zhiqiang
The current driver is not working on some PowerPC T-series, P-series and MPC85xx platforms due to the difference in PCIe IP revisions and the various integration on different platforms. This patch set fixes these issues. Hou Zhiqiang (3): dm: pcie_fsl: Fix workaround of P4080 erratum A003 dm

[U-Boot] [PATCH 3/3] dm: pcie_fsl: Fix the calculation of controller index

2019-07-23 Thread Hou Zhiqiang
The PCIe controller register address in CCSR is different on various platforms, the current code erroneously use the hardcoded address (0xffe24) and stride (0x1) to calculate the controller's index. Fix it by adding the related info to the driver data structure. Signed-off-by: Hou

[U-Boot] [PATCH 06/47] t4240: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
T4240 integrated 4 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 3.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/t4240.dtsi | 48 + 1 file

[U-Boot] [PATCH 14/47] configs: T1024RDB: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in T1024RDB defconfig. Signed-off-by: Hou Zhiqiang --- configs/T1024RDB_NAND_defconfig | 4 configs/T1024RDB_SDCARD_defconfig | 4 configs/T1024RDB_SPIFLASH_defconfig | 4 configs/T1024RDB_defconfig | 4 4 files changed, 16 insertions

[U-Boot] [PATCH 08/47] configs: T4240RDB: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in T4240RDB defconfig. Signed-off-by: Hou Zhiqiang --- configs/T4240RDB_SDCARD_defconfig | 4 configs/T4240RDB_defconfig| 4 2 files changed, 8 insertions(+) diff --git a/configs/T4240RDB_SDCARD_defconfig b/configs/T4240RDB_SDCARD_defconfig index

[U-Boot] [PATCH 35/47] configs: P3041DS: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in P3041DS defconfig. Signed-off-by: Hou Zhiqiang --- configs/P3041DS_NAND_defconfig | 4 configs/P3041DS_SDCARD_defconfig | 4 configs/P3041DS_SPIFLASH_defconfig | 4 configs/P3041DS_defconfig | 4 4 files changed, 16 insertions

[U-Boot] [PATCH 23/47] powerpc: p1_p2_rdb: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled for P1020, P1021, P1024, P1025 and P2020 RDB boards. Signed-off-by: Hou Zhiqiang --- include/configs/p1_p2_rdb_pc.h | 36 +++- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git

[U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in T2080RDB defconfig. Signed-off-by: Hou Zhiqiang --- configs/T2080RDB_NAND_defconfig | 4 configs/T2080RDB_SDCARD_defconfig | 4 configs/T2080RDB_SPIFLASH_defconfig | 4 configs/T2080RDB_defconfig | 4 4 files changed, 16 insertions

[U-Boot] [PATCH 34/47] powerpc: corenet_ds: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang --- include/configs/corenet_ds.h | 63 +--- 1 file changed, 19 insertions(+), 44 deletions(-) diff --git a/include/configs/corenet_ds.h b/include/configs

[U-Boot] [PATCH 27/47] powerpc: p_corenet: Compile legacy PCIe routines conditionally

2019-07-23 Thread Hou Zhiqiang
Compile the legacy PCIe initialization reoutines for P2041RDB, P3041, P4080, P5020 and P5040 DS boards only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang --- board/freescale/common/p_corenet/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/common/p_corenet

[U-Boot] [PATCH 07/47] powerpc: T4240RDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang --- include/configs/T4240RDB.h | 35 +++ 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h

[U-Boot] [PATCH 12/47] powerpc: T102xRDB: Remove the useless macro CONFIG_ARCH_T1040

2019-07-23 Thread Hou Zhiqiang
Remove the macro CONFIG_ARCH_T1040 from the T102xRDB.h and the PCIE4 related macros, as there are only 3 PCIe controllers on T102x SoCs. Signed-off-by: Hou Zhiqiang --- include/configs/T102xRDB.h | 24 1 file changed, 24 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 24/47] configs: P1020RDB: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in P1020RDB defconfig. Signed-off-by: Hou Zhiqiang --- configs/P1020RDB-PC_36BIT_NAND_defconfig | 4 configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 4 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 4 configs/P1020RDB-PC_36BIT_defconfig | 4

[U-Boot] [PATCH 00/47] powerpc: Enable PCIe DM drvier for some platforms

2019-07-23 Thread Hou Zhiqiang
Enable PCIe DM driver for some PowerPC platforms which has supported device tree. Depends on the following 2 series: http://patchwork.ozlabs.org/project/uboot/list/?series=120960 http://patchwork.ozlabs.org/project/uboot/list/?series=115008 Hou Zhiqiang (47): powerpc: T208xRDB: Compile legacy

[U-Boot] [PATCH 05/47] dm: pcie_fsl: Add T4240 PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for T4240 PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index e13e5a6..961d8e3 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -616,6

[U-Boot] [PATCH 15/47] powerpc: T104xRDB: Compile legacy PCIe routines conditionally

2019-07-23 Thread Hou Zhiqiang
Compile the legacy PCIe initialization reoutines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang --- board/freescale/t104xrdb/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/t104xrdb/pci.c b/board/freescale/t104xrdb/pci.c index 9fd6659..6b666ba 100644

[U-Boot] [PATCH 09/47] powerpc: T102xRDB: Compile legacy PCIe routines conditionally

2019-07-23 Thread Hou Zhiqiang
Compile the legacy PCIe initialization reoutines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang --- board/freescale/t102xrdb/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/t102xrdb/pci.c b/board/freescale/t102xrdb/pci.c index 161b8cb..adc128d 100644

[U-Boot] [PATCH 26/47] configs: P2020RDB: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in P2020RDB defconfig. Signed-off-by: Hou Zhiqiang --- configs/P2020RDB-PC_36BIT_NAND_defconfig | 4 configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 4 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 4 configs/P2020RDB-PC_36BIT_defconfig | 4

[U-Boot] [PATCH 28/47] dm: pcie_fsl: Add P2041 PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for P2041 PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index c8b8e3b..61f08e7 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c

[U-Boot] [PATCH 20/47] powerpc: p1_p2_rdb: Compile legacy PCIe routines conditionally

2019-07-23 Thread Hou Zhiqiang
Compile the legacy PCIe initialization reoutines for P1020, P1021, P1024, P1025 and P2020 RDB boards only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang --- board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board

[U-Boot] [PATCH 22/47] P1020: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
P1020 integrated 2 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 1.0a, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/p1020-post.dtsi | 20 arch/powerpc/dts/p1020rdb

[U-Boot] [PATCH 02/47] powerpc: T208xRDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang --- include/configs/T208xRDB.h | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h

[U-Boot] [PATCH 44/47] dm: pcie_fsl: Add MPC8548 PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for MPC8548 PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index 1411b1f..112f3b9 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -627,6

[U-Boot] [PATCH 40/47] P5040: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
P5040 integrated 3 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 2.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/p5040.dtsi | 36 1 file changed, 36

[U-Boot] [PATCH 31/47] configs: P2041RDB: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in P2041RDB defconfig. Signed-off-by: Hou Zhiqiang --- configs/P2041RDB_NAND_defconfig | 4 configs/P2041RDB_SDCARD_defconfig | 4 configs/P2041RDB_SPIFLASH_defconfig | 4 configs/P2041RDB_defconfig | 4 4 files changed, 16 insertions

[U-Boot] [PATCH 43/47] powerpc: MPC85xxCDS: Disable legacy PCI fixup when DM_PCI is selected

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCI and PCIe fixup when CONFIG_DM_PCI is selected. Signed-off-by: Hou Zhiqiang --- board/freescale/common/cds_pci_ft.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/freescale/common/cds_pci_ft.c b/board/freescale/common/cds_pci_ft.c index 3ff2fa4

[U-Boot] [PATCH 32/47] dm: pcie_fsl: Add P3041 PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for P3041 PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index 61f08e7..a4e0cd1 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -629,6

[U-Boot] [PATCH 17/47] t104x: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
T104x integrated 4 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 2.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/t104x.dtsi | 48 + 1 file

[U-Boot] [PATCH 42/47] powerpc: MPC8548CDS: Compile legacy PCIe routines conditionally

2019-07-23 Thread Hou Zhiqiang
Compile the legacy PCIe initialization reoutines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang --- board/freescale/mpc8548cds/mpc8548cds.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale

[U-Boot] [PATCH 33/47] P3041: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
P3041 integrated 4 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 2.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/p3041.dtsi | 48 + 1 file

[U-Boot] [PATCH 13/47] powerpc: T102xRDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang --- include/configs/T102xRDB.h | 54 +- 1 file changed, 15 insertions(+), 39 deletions(-) diff --git a/include/configs/T102xRDB.h b/include/configs

[U-Boot] [PATCH 25/47] P2020: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
P2020 integrated 3 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 1.0a, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/p2020-post.dtsi | 30 ++ arch/powerpc/dts

[U-Boot] [PATCH 04/47] powerpc: T4RDB: Compile legacy PCIe routines conditionally

2019-07-23 Thread Hou Zhiqiang
Compile the legacy PCIe initialization reoutines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang --- board/freescale/t4rdb/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/t4rdb/pci.c b/board/freescale/t4rdb/pci.c index 4100370..7d670e1 100644 --- a/board

[U-Boot] [PATCH 01/47] powerpc: T208xRDB: Compile legacy PCIe routines conditionally

2019-07-23 Thread Hou Zhiqiang
Compile the legacy PCIe initialization reoutines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang --- board/freescale/t208xrdb/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/t208xrdb/pci.c b/board/freescale/t208xrdb/pci.c index 161b8cb..adc128d 100644

[U-Boot] [PATCH 38/47] configs: P4080DS: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in P4080DS defconfig. Signed-off-by: Hou Zhiqiang --- configs/P4080DS_SDCARD_defconfig | 4 configs/P4080DS_SPIFLASH_defconfig | 4 configs/P4080DS_defconfig | 4 3 files changed, 12 insertions(+) diff --git a/configs/P4080DS_SDCARD_defconfig

[U-Boot] [PATCH 21/47] dm: pcie_fsl: Add PCIe support for P1 and P2 series SoCs

2019-07-23 Thread Hou Zhiqiang
Add compatible string for PCIe of P1020, P1021, P1024, P1025 and P2020 SoCs. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index c4b4ace..c8b8e3b 100644 --- a/drivers/pci

[U-Boot] [PATCH 18/47] powerpc: T104xRDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang --- include/configs/T104xRDB.h | 38 -- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h

[U-Boot] [PATCH 37/47] P4080: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
P4080 integrated 3 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 2.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/p4080.dtsi | 36 1 file changed, 36

[U-Boot] [PATCH 47/47] configs: MPC8548CDS: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in MPC8548CDS defconfig. Signed-off-by: Hou Zhiqiang --- configs/MPC8548CDS_36BIT_defconfig | 4 configs/MPC8548CDS_defconfig| 4 configs/MPC8548CDS_legacy_defconfig | 4 3 files changed, 12 insertions(+) diff --git a/configs

[U-Boot] [PATCH 30/47] powerpc: P2041RDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang --- include/configs/P2041RDB.h | 55 +- 1 file changed, 15 insertions(+), 40 deletions(-) diff --git a/include/configs/P2041RDB.h b/include/configs

[U-Boot] [PATCH 45/47] MPC8548: dts: Added PCIe DT node

2019-07-23 Thread Hou Zhiqiang
MPC8548 integrated a PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 1.0a, and this patch is to add DT node for the PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/mpc8548-post.dtsi | 9 + arch/powerpc/dts/mpc8548cds.dts

[U-Boot] [PATCH 39/47] dm: pcie_fsl: Add P5040 PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for P5040 PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index f61e39e..1411b1f 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -631,6

[U-Boot] [PATCH 16/47] dm: pcie_fsl: Add T104x PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for T104x PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index 25df84d..c4b4ace 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -616,6

[U-Boot] [PATCH 19/47] configs: T1042D4RDB: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in T1042D4RDB defconfig. Signed-off-by: Hou Zhiqiang --- configs/T1042D4RDB_NAND_defconfig | 4 configs/T1042D4RDB_SDCARD_defconfig | 4 configs/T1042D4RDB_SPIFLASH_defconfig | 4 configs/T1042D4RDB_defconfig | 4 4 files changed, 16

[U-Boot] [PATCH 10/47] dm: pcie_fsl: Add T102x PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for T102x PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index 961d8e3..25df84d 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -615,6

[U-Boot] [PATCH 36/47] dm: pcie_fsl: Add P4080 PCIe support

2019-07-23 Thread Hou Zhiqiang
Add compatible string for P4080 PCIe. Signed-off-by: Hou Zhiqiang --- drivers/pci/pcie_fsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index a4e0cd1..f61e39e 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -630,6

[U-Boot] [PATCH 41/47] configs: P5040DS: Enable PCIe driver

2019-07-23 Thread Hou Zhiqiang
Enable the DM PCIe driver in P5040DS defconfig. Signed-off-by: Hou Zhiqiang --- configs/P5040DS_NAND_defconfig | 4 configs/P5040DS_SDCARD_defconfig | 4 configs/P5040DS_SPIFLASH_defconfig | 4 configs/P5040DS_defconfig | 4 4 files changed, 16 insertions

[U-Boot] [PATCH 46/47] powerpc: MPC8548CDS: Disable legacy PCIe driver when DM_PCI is enabled

2019-07-23 Thread Hou Zhiqiang
Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang --- include/configs/MPC8548CDS.h | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h index

[U-Boot] [PATCH 11/47] t102x: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
T102x integrated 3 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 2.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/t102x.dtsi | 36 1 file changed, 36

[U-Boot] [PATCH 29/47] P2041: dts: Added PCIe DT nodes

2019-07-23 Thread Hou Zhiqiang
P2041 integrated 3 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 2.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang --- arch/powerpc/dts/p2041.dtsi | 36 1 file changed, 36