[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 changed, 1 insertion(+)

diff --git a/drivers/ata/fsl_sata.h b/drivers/ata/fsl_sata.h
index 882803c8cd..5b9daa79e0 100644
--- a/drivers/ata/fsl_sata.h
+++ b/drivers/ata/fsl_sata.h
@@ -313,6 +313,7 @@ typedef struct fsl_sata {
int wcache;
int flush;
int flush_ext;
+   u32 dma_flag;
 } fsl_sata_t;
 
 #define READ_CMD   0
-- 
2.17.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[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 a/drivers/ata/fsl_sata.h b/drivers/ata/fsl_sata.h
index 882803c8cd..5b9daa79e0 100644
--- a/drivers/ata/fsl_sata.h
+++ b/drivers/ata/fsl_sata.h
@@ -313,6 +313,7 @@ typedef struct fsl_sata {
int wcache;
int flush;
int flush_ext;
+   u32 dma_flag;
 } fsl_sata_t;
 
 #define READ_CMD   0
-- 
2.17.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot