mmc: dwmmc: socfpga: Get "fifo-mode" property from DT

Add FIFO mode support for SoCFPGA dwmmc, read "fifo-mode" property from DT.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
Ley Foon Tan 2021-04-26 13:17:46 +08:00 committed by Peng Fan
parent 8cb9d3ed3a
commit 1925e65706

View File

@ -144,6 +144,8 @@ static int socfpga_dwmmc_of_to_plat(struct udevice *dev)
"smplsel", 0);
host->priv = priv;
host->fifo_mode = dev_read_bool(dev, "fifo-mode");
return 0;
}