diff options
| author | Ley Foon Tan <[email protected]> | 2021-04-26 13:17:46 +0800 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2021-06-22 12:02:32 +0800 |
| commit | 1925e65706b84ec83b99e6335d9a36d8644c9085 (patch) | |
| tree | edfbee42770d69c07f76661814ae4f15c74889de | |
| parent | 8cb9d3ed3a6402f984356988c581546866acf0da (diff) | |
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 <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
| -rw-r--r-- | drivers/mmc/socfpga_dw_mmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c index d6d2d572141..be3d8bfb3d7 100644 --- a/drivers/mmc/socfpga_dw_mmc.c +++ b/drivers/mmc/socfpga_dw_mmc.c @@ -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; } |
