diff mbox series

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

Message ID 20191127100145.44346-5-peng.ma@nxp.com
State Superseded
Delegated to: Priyanka Jain
Headers show
Series [U-Boot,1/5] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board." | expand

Commit Message

Peng Ma Nov. 27, 2019, 10:02 a.m. UTC
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@nxp.com>
---
 drivers/ata/fsl_sata.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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