[PATCH] arm64: ls1012a: enable DM support for sata

2020-02-14 Thread Peng Ma
Enable related configs to support sata DM feature. Signed-off-by: Peng Ma --- configs/ls1012a2g5rdb_qspi_defconfig | 1 + configs/ls1012a2g5rdb_tfa_defconfig | 1 + configs/ls1012afrdm_qspi_defconfig | 6 ++ configs/ls1012afrdm_tfa_defconfig| 6

RE: [EXT] Re: [PATCH 1/3] ata: sata_sil: Continue probing other sata port when failed current port.

2020-01-08 Thread Peng Ma
>-Original Message- >From: Tom Rini >Sent: 2020年1月9日 4:12 >To: Peng Ma >Cc: s...@chromium.org; Priyanka Jain ; Marcel >Ziswiler ; Andy Tang ; >u-boot@lists.denx.de >Subject: [EXT] Re: [PATCH 1/3] ata: sata_sil: Continue probing other sata port >when failed c

RE: [EXT] Re: [PATCH 2/3] ata: fsl_sata: Continue probing other sata port when failed current port.

2019-12-29 Thread Peng Ma
Hi Simon, >-Original Message- >From: Simon Glass >Sent: 2019年12月28日 10:27 >To: Peng Ma >Cc: Priyanka Jain ; Marcel Ziswiler >; Andy Tang ; >u-boot@lists.denx.de >Subject: [EXT] Re: [PATCH 2/3] ata: fsl_sata: Continue probing other sata port >when failed cu

RE: [EXT] Re: [PATCH 1/3] ata: sata_sil: Continue probing other sata port when failed current port.

2019-12-29 Thread Peng Ma
Hi Simon, I am very sorry to reply late, Please see comments inline. Best Regards, Peng >-Original Message- >From: Simon Glass >Sent: 2019年12月28日 10:27 >To: Peng Ma >Cc: Priyanka Jain ; Marcel Ziswiler >; Andy Tang ; >u-boot@lists.denx.de >Subject: [EXT] Re: [

RE: [EXT] Re: [PATCH 3/3] cmd: sata: Add block unbind device function

2019-12-29 Thread Peng Ma
Hi Simon, >-Original Message- >From: Simon Glass >Sent: 2019年12月28日 10:27 >To: Peng Ma >Cc: Priyanka Jain ; Marcel Ziswiler >; Andy Tang ; >u-boot@lists.denx.de >Subject: [EXT] Re: [PATCH 3/3] cmd: sata: Add block unbind device function > >Caution: EXT Ema

[v4 4/4] arch: powerpc: Rewrite the sata node to fit the driver

2019-12-23 Thread Peng Ma
The sata of our powerpc platforms are updated. These changes is to fit the driver probe. Reviewed-by: Stefan Roese Signed-off-by: Peng Ma --- Changed for v4 - no changes arch/powerpc/dts/t2080.dtsi | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git

[v4 3/4] Revert "configs: enable sata device module in T2080QDS"

2019-12-23 Thread Peng Ma
This reverts commit 02dc1599ba0b16eb21ba0c206e5b6f38fe7b67a7 Commit 02dc1599ba0b ("configs: enable sata, eSDHC, USB device module in T2080QDS") has some sata defconfig changes to fit support DM mode, Now the driver will be reverted, So revert it. Reviewed-by: Stefan Roese Signed-of

[v4 1/4] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-12-23 Thread Peng Ma
So revert it and have already updated the driver itself to operate sata directly. Reviewed-by: Stefan Roese Signed-off-by: Peng Ma --- Changed for v4 - merge patch1 and patch5 to patch1 drivers/ata/Kconfig| 10 - drivers/ata/Makefile |1 - drivers/ata/fsl_ahc

[v4 2/4] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."

2019-12-23 Thread Peng Ma
This reverts commit 856b9cdb53f0e6c8d98f81cf71ef363c16b0aa0e. Commit 856b9cdb53f0 ("powerpc: mpc85xx: delete FSL_SATA for T2080QDS board.") is to fit support sata DM mode, Now the driver will be reverted, So revert it. Reviewed-by: Stefan Roese Signed-off-by: Peng Ma --- Chan

[v3 5/5] ata: fsl_sata: Update fsl sata header file

2019-12-17 Thread Peng Ma
The variable(dma_flag) will be used by both fsl_ahci.c and fsl_sata.c, Now we support the fsl_sata.c to DM mode and revert fsl_ahci.c(This variable declare here). So we should Add this change. Reviewed-by: Stefan Roese Signed-off-by: Peng Ma --- Changed for v3: - make rebase

[v3 4/5] arch: powerpc: Rewrite the sata node to fit the driver

2019-12-17 Thread Peng Ma
The sata of our powerpc platforms are updated. These changes is to fit the driver probe. Reviewed-by: Stefan Roese Signed-off-by: Peng Ma --- Changed for v3: - make rebase. - add Reviewed-by. arch/powerpc/dts/t2080.dtsi | 15 --- 1 file changed, 4 insertions(+), 11

[v3 3/5] Revert "configs: enable sata device module in T2080QDS"

2019-12-17 Thread Peng Ma
This reverts commit 02dc1599ba0b16eb21ba0c206e5b6f38fe7b67a7 Commit 02dc1599ba0b ("configs: enable sata, eSDHC, USB device module in T2080QDS") has some sata defconfig changes to fit support DM mode, Now the driver will be reverted, So revert it. Reviewed-by: Stefan Roese Signed-of

[v3 1/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-12-17 Thread Peng Ma
So revert it and have already updated the driver itself to operate sata directly. Reviewed-by: Stefan Roese Signed-off-by: Peng Ma --- Changed for v3: - make rebase. - add Reviewed-by. drivers/ata/Kconfig| 10 - drivers/ata/Makefile |1 - drivers/ata/fsl_ahc

[v3 2/5] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."

2019-12-17 Thread Peng Ma
This reverts commit 856b9cdb53f0e6c8d98f81cf71ef363c16b0aa0e. Commit 856b9cdb53f0 ("powerpc: mpc85xx: delete FSL_SATA for T2080QDS board.") is to fit support sata DM mode, Now the driver will be reverted, So revert it. Reviewed-by: Stefan Roese Signed-off-by: Peng Ma --- Chan

[PATCH 3/3] cmd: sata: Add block unbind device function

2019-12-04 Thread Peng Ma
6168.1 MB = 279.4 GB (586072368 x 512) Signed-off-by: Peng Ma --- cmd/sata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/sata.c b/cmd/sata.c index a73cc54bd3..6bdb516cb5 100644 --- a/cmd/sata.c +++ b/cmd/sata.c @@ -26,6 +26,8 @@ int sata_remove(int devnum) struct udevice *dev;

[PATCH 2/3] ata: fsl_sata: Continue probing other sata port when failed current port.

2019-12-04 Thread Peng Ma
In the initialization of sata driver, we want to initialize all port probes, Therefore, any detection failure between of them should continue initialization by skipping the current port instead of exit. Signed-off-by: Peng Ma --- drivers/ata/fsl_sata.c | 58

[PATCH 1/3] ata: sata_sil: Continue probing other sata port when failed current port.

2019-12-04 Thread Peng Ma
In the initialization of sata driver, we want to initialize all port probes, Therefore, any detection failure between of them should continue initialization by skipping the current port instead of exit. Signed-off-by: Peng Ma --- drivers/ata/sata_sil.c | 60

Re: [U-Boot] [EXT] Re: [v2 1/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-12-02 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年12月2日 15:59 >To: Peng Ma ; Priyanka Jain ; >w...@denx.de; Ruchika Gupta ; Shengzhou Liu > >Cc: Yinbo Zhu ; Z.q. Hou ; >s...@chromium.org; ja...@openedev.com; andre.przyw...@arm.com; >sm...@web.de; Andy

[U-Boot] [v2 2/5] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."

2019-12-01 Thread Peng Ma
This reverts commit 856b9cdb53f0e6c8d98f81cf71ef363c16b0aa0e. Commit 856b9cdb53f0 ("powerpc: mpc85xx: delete FSL_SATA for T2080QDS board.") is to fit support sata DM mode, Now the driver will be reverted, So revert it. Signed-off-by: Peng Ma --- Changed for v2: - Ad

[U-Boot] [v2 1/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-12-01 Thread Peng Ma
So revert it and have already updated the driver itself to operate sata directly. Signed-off-by: Peng Ma --- Changed for v2: - Add detailed explanation. drivers/ata/Kconfig| 10 - drivers/ata/Makefile |1 - drivers/ata/fsl_ahci.c | 1030 ---

[U-Boot] [v2 4/5] arch: powerpc: Rewrite the sata node to fit the driver

2019-12-01 Thread Peng Ma
The sata of our powerpc platforms are updated. These changes is to fit the driver probe. Signed-off-by: Peng Ma --- Changed for v2 - Update title. arch/powerpc/dts/t2080.dtsi | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/dts/t2080

[U-Boot] [PATCH 5/5] ata: fsl_sata: Update fsl sata header file

2019-12-01 Thread Peng Ma
The variable(dma_flag) will be used by both fsl_ahci.c and fsl_sata.c, Now we support the fsl_sata.c to DM mode and revert fsl_ahci.c(This variable declare here). So we should Add this change. Signed-off-by: Peng Ma --- Changed for v2: - No change. drivers/ata/fsl_sata.h | 1 + 1 file

[U-Boot] [v2 3/5] Revert "configs: enable sata device module in T2080QDS"

2019-12-01 Thread Peng Ma
This reverts commit 02dc1599ba0b16eb21ba0c206e5b6f38fe7b67a7 Commit 02dc1599ba0b ("configs: enable sata, eSDHC, USB device module in T2080QDS") has some sata defconfig changes to fit support DM mode, Now the driver will be reverted, So revert it. Signed-off-by: Peng Ma --- Chan

Re: [U-Boot] [EXT] Re: [PATCH 2/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-11-27 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年11月27日 18:31 >To: Peng Ma ; Priyanka Jain ; >w...@denx.de; Ruchika Gupta ; Shengzhou Liu > >Cc: Yinbo Zhu ; Z.q. Hou ; >s...@chromium.org; ja...@openedev.com; andre.przyw...@arm.com; >sm...@web.de; Andy

Re: [U-Boot] [EXT] Re: [PATCH 1/5] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."

2019-11-27 Thread Peng Ma
>-Original Message- >From: Wolfgang Denk >Sent: 2019年11月28日 0:08 >To: Peng Ma >Cc: Priyanka Jain ; Ruchika Gupta >; Shengzhou Liu ; Yinbo >Zhu ; Z.q. Hou ; >s...@chromium.org; ja...@openedev.com; andre.przyw...@arm.com; >s...@denx.de; sm...@web.de; Andy T

Re: [U-Boot] [EXT] Re: [PATCH 2/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-11-27 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年11月27日 18:31 >To: Peng Ma ; Priyanka Jain ; >w...@denx.de; Ruchika Gupta ; Shengzhou Liu > >Cc: Yinbo Zhu ; Z.q. Hou ; >s...@chromium.org; ja...@openedev.com; andre.przyw...@arm.com; >sm...@web.de; Andy

[U-Boot] [PATCH 4/5] Revert "configs: enable sata device module in T2080QDS"

2019-11-27 Thread Peng Ma
This reverts commit 02dc1599ba0b16eb21ba0c206e5b6f38fe7b67a7 Just reverts some configs about sata to fit fsl_sata.c Signed-off-by: Peng Ma --- configs/T2080QDS_NAND_defconfig | 4 configs/T2080QDS_SDCARD_defconfig | 4 configs/T2080QDS_SECURE_BOOT_defconfig| 4

[U-Boot] [PATCH 5/5] ata: fsl_sata: Update fsl sata header file

2019-11-27 Thread Peng Ma
The variable(dma_flag) will be used by both fsl_ahci.c and fsl_sata.c, Now we support the fsl_sata.c to DM mode and revert fsl_ahci.c(This variable declare here). So we should Add this changed. Signed-off-by: Peng Ma --- drivers/ata/fsl_sata.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 2/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-11-27 Thread Peng Ma
This reverts commit 1ee494291880fd51ef0c5f7342e072bdb069d7ff. Signed-off-by: Peng Ma --- drivers/ata/Kconfig| 10 - drivers/ata/Makefile |1 - drivers/ata/fsl_ahci.c | 1030 drivers/ata/fsl_sata.h |1 - 4 files changed, 1042 deletions

[U-Boot] [PATCH 3/5] arch: powerpc: Rewrite the sata node to fit the driver

2019-11-27 Thread Peng Ma
The sata of our powerpc platform are updated. This changed is to fit the driver init Signed-off-by: Peng Ma --- arch/powerpc/dts/t2080.dtsi | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/dts/t2080.dtsi b/arch/powerpc/dts/t2080.dtsi index

[U-Boot] [PATCH 1/5] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."

2019-11-27 Thread Peng Ma
This reverts commit 856b9cdb53f0e6c8d98f81cf71ef363c16b0aa0e. Signed-off-by: Peng Ma --- arch/powerpc/cpu/mpc85xx/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig index 8cc82f80b4..6fc6ea8fef

Re: [U-Boot] [V3 1/2] ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver

2019-11-18 Thread Peng Ma
>-Original Message- >From: Peng Ma >Sent: 2019年11月19日 14:18 >To: Prabhakar X ; w...@denx.de >Cc: ja...@openedev.com; s...@chromium.org; andre.przyw...@arm.com; >s...@denx.de; sm...@web.de; u-boot@lists.denx.de; Peng Ma > >Subject: [V3 1/2] ata: fsl_sata: Add

Re: [U-Boot] [V3 2/2] ata: sata_sil: Add DM support for Silicon sata driver

2019-11-18 Thread Peng Ma
>-Original Message- >From: Peng Ma >Sent: 2019年11月19日 14:18 >To: Prabhakar X ; w...@denx.de >Cc: ja...@openedev.com; s...@chromium.org; andre.przyw...@arm.com; >s...@denx.de; sm...@web.de; u-boot@lists.denx.de; Peng Ma > >Subject: [V3 2/2] ata: sata_sil: Add DM

[U-Boot] [V3 2/2] ata: sata_sil: Add DM support for Silicon sata driver

2019-11-18 Thread Peng Ma
GRATION.txt for more info." ====" Signed-off-by: Peng Ma --- Changed for v3: - Remove the typedef drivers/ata/Kconfig| 1 + drivers/ata/sata_sil.c | 535 +++-- drivers/ata/sata_sil.h | 10 + 3 files changed, 353 insertio

[U-Boot] [V3 1/2] ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver

2019-11-18 Thread Peng Ma
FIG_AHCI before the v2019.07 release." Failure to update by the deadline may result in board removal." See doc/driver-model/MIGRATION.txt for more info." ====" Signed-off-by: Peng Ma --- Changed for v3: - Limitd the title f

[U-Boot] [v2 3/6] powerpc: p5040: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for P5040 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/p5040.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p504

[U-Boot] [v2 6/6] powerpc: t4240: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for T4240 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/t4240.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t4240.dtsi b/arch/powerpc/dts/t424

[U-Boot] [v2 4/6] powerpc: t102x: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for T102x platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/t102x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t102x.dtsi b/arch/powerpc/dts/t102

[U-Boot] [v2 2/6] powerpc: p3041: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for P3041 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/p3041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p3041.dtsi b/arch/powerpc/dts/p304

[U-Boot] [v2 5/6] powerpc: t104x: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for T104x platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/t104x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t104x.dtsi b/arch/powerpc/dts/t104

[U-Boot] [v2 1/6] powerpc: p2041: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for P2041 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/p2041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p2041.dtsi b/arch/powerpc/dts/p204

[U-Boot] [v2 2/2] ata: sata_sil: Add DM support for Silicon sata driver

2019-10-23 Thread Peng Ma
GRATION.txt for more info." ====" Signed-off-by: Peng Ma --- Changed for v2: - Rewrite the subject and description drivers/ata/Kconfig| 1 + drivers/ata/sata_sil.c | 539 +++-- drivers/ata/sata_sil.h | 14 +- 3 fi

[U-Boot] [v2 1/2] ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver

2019-10-23 Thread Peng Ma
FIG_AHCI before the v2019.07 release." Failure to update by the deadline may result in board removal." See doc/driver-model/MIGRATION.txt for more info." ====" Signed-off-by: Peng Ma --- Changed for v2: - Rewrite the sub

[U-Boot] [PATCH 6/6] powerpc: t4240: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for T4240 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/t4240.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t4240.dtsi b/arch/powerpc/dts/t4240.dtsi index fc34974..3bda2fa 100644 --- a/arch/powerpc/dts/t4240.dtsi +++ b

[U-Boot] [PATCH 1/6] powerpc: p2041: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for P2041 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/p2041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p2041.dtsi b/arch/powerpc/dts/p2041.dtsi index 55f7adc..239439d 100644 --- a/arch/powerpc/dts/p2041.dtsi +++ b

[U-Boot] [PATCH 4/6] powerpc: t102x: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for T102x platform Signed-off-by: Peng Ma --- arch/powerpc/dts/t102x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t102x.dtsi b/arch/powerpc/dts/t102x.dtsi index c49fd21..7d3f7c5 100644 --- a/arch/powerpc/dts/t102x.dtsi +++ b

[U-Boot] [PATCH 5/6] powerpc: t104x: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for T104x platform Signed-off-by: Peng Ma --- arch/powerpc/dts/t104x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t104x.dtsi b/arch/powerpc/dts/t104x.dtsi index 5998967..fe6cc3c 100644 --- a/arch/powerpc/dts/t104x.dtsi +++ b

[U-Boot] [PATCH 3/6] powerpc: p5040: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for P5040 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/p5040.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p5040.dtsi index 8ab123d..7b8218a 100644 --- a/arch/powerpc/dts/p5040.dtsi +++ b

[U-Boot] [PATCH 2/6] powerpc: p3041: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for P3041 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/p3041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p3041.dtsi b/arch/powerpc/dts/p3041.dtsi index 197896d..23bde81 100644 --- a/arch/powerpc/dts/p3041.dtsi +++ b

[U-Boot] [PATCH 1/2] ata: fsl_sata: Add sata DM support for Freescale powerpc

2019-10-14 Thread Peng Ma
lease." Failure to update by the deadline may result in board removal." See doc/driver-model/MIGRATION.txt for more info." ====" Signed-off-by: Peng Ma --- drivers/ata/Kconfig|

[U-Boot] [PATCH 2/2] ata: sata_sil: Add sata DM support for Silicon driver

2019-10-14 Thread Peng Ma
GRATION.txt for more info." ====" Signed-off-by: Peng Ma --- drivers/ata/Kconfig| 1 + drivers/ata/sata_sil.c | 538 +++-- drivers/ata/sata_sil.h | 13 +- 3 files changed, 355 insertions(+), 197 deletions(-) diff --git

Re: [U-Boot] [EXT] Re: [RFC 1/3] scsi: ata: Add DM SCSI interface to support None AHCI sata driver

2019-09-29 Thread Peng Ma
Hi Stefan, Thanks for your opinion. >-Original Message- >From: Stefan Roese >Sent: 2019年9月29日 19:46 >To: Peng Ma ; s...@chromium.org; Prabhakar X >; ja...@openedev.com; >bmeng...@gmail.com; Andy Tang >Cc: michal.si...@xilinx.com; andre.przyw...@arm.com;

Re: [U-Boot] [EXT] Re: [RFC 1/3] scsi: ata: Add DM SCSI interface to support None AHCI sata driver

2019-09-25 Thread Peng Ma
Hi Robert, Thanks very much for your comments, please see my comments inline. >-Original Message- >From: Robert Hancock >Sent: 2019年9月25日 23:50 >To: Peng Ma ; s...@chromium.org; Prabhakar X >; ja...@openedev.com; >bmeng...@gmail.com; Andy Tang >Cc: andre.przyw.

[U-Boot] [RFC 1/3] scsi: ata: Add DM SCSI interface to support None AHCI sata driver

2019-09-25 Thread Peng Ma
. Signed-off-by: Peng Ma --- drivers/ata/Kconfig | 17 +++- drivers/ata/Makefile | 2 + drivers/ata/ata-uclass.c | 16 drivers/ata/ata.c| 244 +++ drivers/ata/sata.c | 2 +- drivers/ata/scsi_ata.h | 43 + include

[U-Boot] [RFC 3/3] ata: fsl_sata: Add sata DM support for Freescale powerpc socs

2019-09-25 Thread Peng Ma
This sata is a None AHCI sata device. To support DM mode with SCSI interface we use the SCSI_NONE_AHCI. This patch is an example(normal sata) to fit "support SCSI interface for None AHCI sata" Signed-off-by: Peng Ma --- drivers/ata/fsl_sa

[U-Boot] [RFC 2/3] ata: sata_sil: Add sata DM support for Silicon driver

2019-09-25 Thread Peng Ma
This sata is a None AHCI sata device. It belongs to PCI sata. To support DM mode with SCSI interface we use the SCSI_NONE_AHCI. This patch is an example(pci sata) to fit "support SCSI interface for None AHCI sata" Signed-off-by: Peng Ma --- drivers/ata/sata_s

[U-Boot] [PATCH] ARM: dts: ls1021a: Fixed reg for sata node

2019-05-28 Thread Peng Ma
This patch is to fixed the reg read to "0" for armv7 architecture. Signed-off-by: Peng Ma --- arch/arm/dts/ls1021a.dtsi |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 5bde3f3..0e00ac2 100644 ---

Re: [U-Boot] [EXT] Re: [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-23 Thread Peng Ma
Hi Stefan, >-Original Message- >From: Stefan Roese >Sent: 2019年5月23日 13:09 >To: Prabhakar Kushwaha ; Peng Ma >; Shengzhou Liu ; Ruchika >Gupta >Cc: Yinbo Zhu ; s...@chromium.org; Jagdish Gediya >; York Sun ; >bmeng...@gmail.com; m...@marvell.com; Andy T

Re: [U-Boot] [EXT] Re: [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-22 Thread Peng Ma
Hi Stefan, Do you have any questions about this patch? Plese let me know. Thanks. Best Regars, Peng >-Original Message- >From: Stefan Roese >Sent: 2019年5月15日 17:23 >To: Peng Ma ; Prabhakar Kushwaha >; Shengzhou Liu ; >Ruchika Gupta >Cc: Yinbo Zhu ; s...@chromiu

[U-Boot] [PATCH] armv8: ls1028a: Add ecc address node for sata.

2019-05-22 Thread Peng Ma
Move the ecc addr from driver to dts Signed-off-by: Peng Ma --- arch/arm/dts/fsl-ls1028a.dtsi |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi index e6a443a..29a0858 100644 --- a/arch/arm/dts/fsl

Re: [U-Boot] [v2 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-05-22 Thread Peng Ma
Hi prabhakar, >-Original Message- >From: Prabhakar Kushwaha >Sent: 2019年5月22日 20:33 >To: Peng Ma ; albert.u.b...@aribaud.net; >s...@chromium.org; Fabio Estevam ; York Sun > >Cc: Andy Tang ; Yinbo Zhu ; >michal.si...@xilinx.com; u-boot@lists.denx.de; Peng Ma >

[U-Boot] [PATCH] armv8: lx2160aqds: Enable sata

2019-05-21 Thread Peng Ma
Change sata node status to enable sata. Signed-off-by: Peng Ma --- arch/arm/dts/fsl-lx2160a-qds.dts | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-lx2160a-qds.dts b/arch/arm/dts/fsl-lx2160a-qds.dts index 6192156..77cf2ce 100644

Re: [U-Boot] [EXT] Re: [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-15 Thread Peng Ma
Hi Prabhakar, I see our platforms with powerpc. We only support T2080QDS with DTS. Is there a plan to move them to DT as well? Please let Stefan Know. Thanks. Best Regards, Peng >-Original Message- >From: Stefan Roese >Sent: 2019年5月15日 17:23 >To: Peng Ma ; Prabha

Re: [U-Boot] [EXT] Re: [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-15 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年5月15日 17:23 >To: Peng Ma ; Prabhakar Kushwaha >; Shengzhou Liu ; >Ruchika Gupta >Cc: Yinbo Zhu ; s...@chromium.org; Jagdish Gediya >; York Sun ; >bmeng...@gmail.com; m...@marvell.com; Andy Tang ; >u-boo

Re: [U-Boot] [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-15 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年3月27日 18:48 >To: Peng Ma ; Prabhakar Kushwaha >; Shengzhou Liu ; >Ruchika Gupta >Cc: Yinbo Zhu ; s...@chromium.org; Jagdish Gediya >; York Sun ; >bmeng...@gmail.com; m...@marvell.com; Andy Tang ; >u-b

[U-Boot] [v3 2/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
Distinguish the ecc val by chassis version and move the ecc addr to dts. Add ls1028a soc support. Signed-off-by: Peng Ma Reviewed-by: Michal Simek --- changed for v3: - Add Reviewed-by. drivers/ata/sata_ceva.c | 50 +++ 1 files changed, 33

[U-Boot] [v3 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-04-17 Thread Peng Ma
Move the ecc addr from driver to dts. Signed-off-by: Peng Ma --- changed for v3: - remove some dts node reg to fix build error arch/arm/dts/fsl-ls1012a.dtsi |4 +++- arch/arm/dts/fsl-ls1043a.dtsi |4 +++- arch/arm/dts/fsl-ls1046a.dtsi |4 +++- arch/arm/dts/fsl-ls1088a.dtsi

[U-Boot] [v2 2/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
Distinguish the ecc val by chassis version and move the ecc addr to dts. Add ls1028a soc support. Signed-off-by: Peng Ma --- changed for v2: - Use the reg-names to get secondary reg base - Return error while some socs not set the ecc address at DT drivers/ata/sata_ceva.c | 50

[U-Boot] [v2 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-04-17 Thread Peng Ma
Move the ecc addr from driver to dts. Signed-off-by: Peng Ma --- changed for v2: - Add reg-names to improve driver code. arch/arm/dts/fsl-ls1012a.dtsi |4 +++- arch/arm/dts/fsl-ls1043a.dtsi |4 +++- arch/arm/dts/fsl-ls1046a.dtsi |4 +++- arch/arm/dts/fsl-ls1088a.dtsi |3

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 15:38 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [E

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 14:58 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [E

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 13:58 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [E

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-16 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月16日 18:49 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [E

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-16 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月16日 18:01 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [E

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-16 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月16日 17:31 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [E

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-16 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月16日 16:04 >To: Peng Ma ; albert.u.b...@aribaud.net; >s...@chromium.org; Fabio Estevam ; York Sun >; Prabhakar Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >michal.si...@xilinx.com; u-boot@lists.denx.de >Subject:

[U-Boot] [PATCH 2/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-04-16 Thread Peng Ma
Move the ecc addr from driver to dts. Signed-off-by: Peng Ma --- arch/arm/dts/fsl-ls1012a.dtsi |3 ++- arch/arm/dts/fsl-ls1043a.dtsi |3 ++- arch/arm/dts/fsl-ls1046a.dtsi |3 ++- arch/arm/dts/fsl-ls1088a.dtsi |2 ++ arch/arm/dts/ls1021a.dtsi |3 ++- 5 files changed, 10

[U-Boot] [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-16 Thread Peng Ma
Distinguish the ecc val by chassis version and move the ecc addr to dts. Add ls1028a soc support. Signed-off-by: Peng Ma --- drivers/ata/sata_ceva.c | 43 +-- 1 files changed, 25 insertions(+), 18 deletions(-) diff --git a/drivers/ata/sata_ceva.c b

Re: [U-Boot] [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-03-27 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年3月27日 18:01 >To: Peng Ma ; Prabhakar Kushwaha >; Shengzhou Liu ; >Ruchika Gupta >Cc: Yinbo Zhu ; s...@chromium.org; Jagdish Gediya >; York Sun ; >bmeng...@gmail.com; m...@marvell.com; Andy Tang ; >u-b

[U-Boot] [PATCH 3/4] powerpc: mpc85xx: delete FSL_SATA for T2080QDS board.

2019-03-27 Thread Peng Ma
Signed-off-by: Peng Ma --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99168 - https://patchwork.ozlabs.org/project/uboot/list/?series=99167 arch/powerpc/cpu/mpc85xx/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch

[U-Boot] [PATCH 4/4] configs: enable sata device module in T2080QDS

2019-03-27 Thread Peng Ma
This patch is to enable sata DM for T2080QDS in uboot Signed-off-by: Peng Ma --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99168 - https://patchwork.ozlabs.org/project/uboot/list/?series=99167 configs/T2080QDS_NAND_defconfig | 11

[U-Boot] [PATCH 2/4] ppc: t2080qds: add sata node

2019-03-27 Thread Peng Ma
This patch is to add sata node for t2080qds Signed-off-by: Peng Ma --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99168 - https://patchwork.ozlabs.org/project/uboot/list/?series=99167 arch/powerpc/dts/t2080.dtsi | 16 1 file changed

[U-Boot] [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-03-27 Thread Peng Ma
to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. Signed-off-by: Peng Ma --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99168 - https

[U-Boot] [v2] powerpc: t104xrdb: Add support of MTA9ADF1G72AZ DDR

2019-02-20 Thread Peng Ma
T1040RDB has been upgraded to support new DDR ie. MTA9ADF1G72AZ-3G2, 8GB. So adding support of new DDR part by updating board_specific_parameters udimm0. Signed-off-by: Peng Ma --- change for V2: - update comments and subject board/freescale/t104xrdb/ddr.h |1 + 1 files changed, 1

[U-Boot] [PATCH 4/7] configs: ls1088a: enable sata configs for all ls1088a defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1088ardb and ls1088aqds defconfigs that missing one of them or more. Support sata for all ls1088a defconfigs Signed-off-by: Peng Ma --- configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 3 +++ configs/ls1088aqds_qspi_defconfig

[U-Boot] [PATCH 5/7] configs: ls208xa: enable sata configs for all ls208xa defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls208xardb and ls208xaqds defconfigs that missing one of them or more. enable CONFIG_DM_MMC for some defconfigs to support CONFIG_BLK Support sata for all ls208xa defconfigs Signed-off-by: Peng Ma --- configs

[U-Boot] [PATCH 7/7] configs: ls1021a: enable sata configs for all ls1021a defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1021a defconfigs that missing one of them or more. enable CONFIG_DM_MMC for some defconfigs to support CONFIG_BLK Support sata for all ls1021a defconfigs Signed-off-by: Peng Ma --- configs/ls1021aiot_qspi_defconfig| 5

[U-Boot] [PATCH 6/7] configs: ls1012afrwy: enable sata configs for all ls1012afrwy defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1012afrwy and ls1012afrwy defconfigs that missing one of them or more. Support sata for all ls1012afrwy defconfigs Signed-off-by: Peng Ma --- configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig | 4 +++- configs/ls1012afrwy_qspi_defconfig

[U-Boot] [PATCH 1/7] armv8: fsl-layerscape: ls1043a: move SCSI_AHCI and SCSI form arch/arm/cpu/armv8/fsl-layerscape/Kconfig to arch/arm/Kconfig

2019-01-30 Thread Peng Ma
CONFIG_DM_SCSI before the v2019.07 release. Failure to update by the deadline may result in board removal.See doc/driver-model/MIGRATION.txt for more info. Signed-off-by: Peng Ma --- arch/arm/Kconfig | 2 +- arch/arm/cpu/armv8

[U-Boot] [PATCH 2/7] configs: ls1043aqds: enable sata configs for all ls1043aqds defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1043aqds defconfigs that missing one of them or more. Support sata for all ls1043aqds defconfigs Signed-off-by: Peng Ma --- configs/ls1043aqds_lpuart_defconfig | 3 +++ configs/ls1043aqds_nand_defconfig| 3

[U-Boot] [PATCH 3/7] configs: ls1046a: enable sata configs for all ls1046a defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1046ardb and ls1046aqds defconfigs that missing one of them or more. enable CONFIG_DM_MMC for some defconfigs to support CONFIG_BLK Support sata for all ls1046a defconfigs Signed-off-by: Peng Ma --- configs

[U-Boot] [PATCH 6/7] configs: ls1012afrwy: enable sata configs for all ls1012afrwy defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1012afrwy and ls1012afrwy defconfigs that missing one of them or more. Support sata for all ls1012afrwy defconfigs Signed-off-by: Peng Ma --- configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig | 4 +++- configs/ls1012afrwy_qspi_defconfig

[U-Boot] [PATCH 7/7] configs: ls1021a: enable sata configs for all ls1021a defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1021a defconfigs that missing one of them or more. enable CONFIG_DM_MMC for some defconfigs to support CONFIG_BLK Support sata for all ls1021a defconfigs Signed-off-by: Peng Ma --- configs/ls1021aiot_qspi_defconfig| 5

[U-Boot] [PATCH 5/7] configs: ls208xa: enable sata configs for all ls208xa defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls208xardb and ls208xaqds defconfigs that missing one of them or more. enable CONFIG_DM_MMC for some defconfigs to support CONFIG_BLK Support sata for all ls208xa defconfigs Signed-off-by: Peng Ma --- configs

[U-Boot] [PATCH 4/7] configs: ls1088a: enable sata configs for all ls1088a defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1088ardb and ls1088aqds defconfigs that missing one of them or more. Support sata for all ls1088a defconfigs Signed-off-by: Peng Ma --- configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 3 +++ configs/ls1088aqds_qspi_defconfig

[U-Boot] [PATCH 3/7] configs: ls1046a: enable sata configs for all ls1046a defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1046ardb and ls1046aqds defconfigs that missing one of them or more. enable CONFIG_DM_MMC for some defconfigs to support CONFIG_BLK Support sata for all ls1046a defconfigs Signed-off-by: Peng Ma --- configs

[U-Boot] [PATCH 2/7] configs: ls1043aqds: enable sata configs for all ls1043aqds defconfigs

2019-01-30 Thread Peng Ma
Add CONFIG_AHCI CONFIG_SATA_CEVA CONFIG_DM_SCSI for some ls1043aqds defconfigs that missing one of them or more. Support sata for all ls1043aqds defconfigs Signed-off-by: Peng Ma --- configs/ls1043aqds_lpuart_defconfig | 3 +++ configs/ls1043aqds_nand_defconfig| 3

[U-Boot] [PATCH 1/7] armv8: fsl-layerscape: ls1043a: move SCSI_AHCI and SCSI form arch/arm/cpu/armv8/fsl-layerscape/Kconfig to arch/arm/Kconfig

2019-01-30 Thread Peng Ma
CONFIG_DM_SCSI before the v2019.07 release. Failure to update by the deadline may result in board removal.See doc/driver-model/MIGRATION.txt for more info. Signed-off-by: Peng Ma --- arch/arm/Kconfig | 2 +- arch/arm/cpu/armv8

[U-Boot] [PATCH] powerpc/t104xrdb: Add new module of DDR for T1040DRDB board

2019-01-24 Thread Peng Ma
This patch is to add a new udimm for T1040DRDB board Signed-off-by: Peng Ma --- board/freescale/t104xrdb/ddr.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/freescale/t104xrdb/ddr.h b/board/freescale/t104xrdb/ddr.h index 319fc59..f9d667f 100644 --- a/board

[U-Boot] [v2] arm64: lx2160ardb: enable DM support for sata

2018-12-27 Thread Peng Ma
Enable related configs to support sata DM feature. Signed-off-by: Peng Ma --- Changed for v2: - used moveconfig.py -s -d to sync lx2160ardb_tfa_SECURE_BOOT_defconfig configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 72 1 file changed, 27 insertions(+), 45 deletions

  1   2   >