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

Peng Ma peng.ma at nxp.com
Wed Nov 27 10:02:44 UTC 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 changed.

Signed-off-by: Peng Ma <peng.ma at nxp.com>
---
 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