ddr: fsl: Impl. Erratum A008109
[oweals/u-boot.git] / drivers / ata / fsl_sata.h
index 18d679e782376ca9e975c7d6e7adafb83622c471..5b9daa79e02353109c96505c3429b94f9e448df8 100644 (file)
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2007-2008 Freescale Semiconductor, Inc.
- *             Dave Liu <daveliu@freescale.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
+ * Copyright 2019 NXP
+ * Author: Dave Liu <daveliu@freescale.com>
  */
 
 #ifndef __FSL_SATA_H__
@@ -313,9 +313,20 @@ typedef struct fsl_sata {
        int             wcache;
        int             flush;
        int             flush_ext;
+       u32             dma_flag;
 } fsl_sata_t;
 
 #define READ_CMD       0
 #define WRITE_CMD      1
 
+#if CONFIG_IS_ENABLED(BLK)
+struct fsl_ata_priv {
+       u32 base;
+       u32 flag;
+       u32 number;
+       u32 offset;
+       fsl_sata_t *fsl_sata;
+};
+#endif
+
 #endif /* __FSL_SATA_H__ */