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...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot