ddr: fsl: Impl. Erratum A008109
[oweals/u-boot.git] / drivers / ata / fsl_sata.h
index a4ee83d18727f237adc582d9aa7df5fec3f493c7..5b9daa79e02353109c96505c3429b94f9e448df8 100644 (file)
@@ -1,7 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2007-2008 Freescale Semiconductor, Inc.
- *             Dave Liu <daveliu@freescale.com>
+ * Copyright 2019 NXP
+ * Author: Dave Liu <daveliu@freescale.com>
  */
 
 #ifndef __FSL_SATA_H__
@@ -318,4 +319,14 @@ typedef struct fsl_sata {
 #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__ */