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:
parent
8cb9d3ed3a
commit
1925e65706
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue