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

Peng Ma peng.ma at nxp.com
Tue Dec 17 11:04:24 CET 2019


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 <sr at denx.de>
Signed-off-by: Peng Ma <peng.ma at nxp.com>
---
Changed for v3:
	- make rebase.
	- add Reviewed-by.

 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



More information about the U-Boot mailing list