mmc: dwmmc: socfpga: Get "fifo-mode" property from DT
PATCH 1/1 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]>
--- drivers/mmc/socfpga_dw_mmc.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mmc/socfpga_dw_mmc.c +2 -0
@@ -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 ; }
Signature · 1 line
2.25.1
PATCH 1/1 mmc: dwmmc: socfpga: Get "fifo-mode" property from DT
Quoted 3 lines · Ley Foon Tan
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]>
Best Regards,
Jaehoon Chung
Quoted 18 lines
--- drivers/mmc/socfpga_dw_mmc.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mmc/socfpga_dw_mmc.c +2
-0@@ -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 ; }