* [PATCH] mmc: dwmmc: socfpga: Get "fifo-mode" property from DT
@ 2021-04-26 5:17 ` Ley Foon Tan
2021-04-26 22:15 ` Jaehoon Chung
0 siblings, 1 reply; 2+ messages in thread
From: Ley Foon Tan @ 2021-04-26 5:17 UTC (permalink / raw)
To: u-boot
Add FIFO mode support for SoCFPGA dwmmc, read "fifo-mode" property from DT.
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
---
drivers/mmc/socfpga_dw_mmc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c
index d6d2d5721411..be3d8bfb3d71 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;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] mmc: dwmmc: socfpga: Get "fifo-mode" property from DT
2021-04-26 5:17 ` [PATCH] mmc: dwmmc: socfpga: Get "fifo-mode" property from DT Ley Foon Tan
@ 2021-04-26 22:15 ` Jaehoon Chung
0 siblings, 0 replies; 2+ messages in thread
From: Jaehoon Chung @ 2021-04-26 22:15 UTC (permalink / raw)
To: u-boot
On 4/26/21 2:17 PM, Ley Foon Tan wrote:
> 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>
Best Regards,
Jaehoon Chung
> ---
> drivers/mmc/socfpga_dw_mmc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c
> index d6d2d5721411..be3d8bfb3d71 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;
> }
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-26 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20210426051816epcas1p293225c81bbb0a5182e08adfd0ca9f036@epcas1p2.samsung.com>
2021-04-26 5:17 ` [PATCH] mmc: dwmmc: socfpga: Get "fifo-mode" property from DT Ley Foon Tan
2021-04-26 22:15 ` Jaehoon Chung
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.