diff options
author | Ley Foon Tan <ley.foon.tan@intel.com> | 2021-04-26 08:17:46 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2021-06-22 07:02:32 +0300 |
commit | 1925e65706b84ec83b99e6335d9a36d8644c9085 (patch) | |
tree | edfbee42770d69c07f76661814ae4f15c74889de /drivers/mmc | |
parent | 8cb9d3ed3a6402f984356988c581546866acf0da (diff) | |
download | u-boot-1925e65706b84ec83b99e6335d9a36d8644c9085.tar.xz |
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>
Diffstat (limited to 'drivers/mmc')
-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 d6d2d57214..be3d8bfb3d 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; } |