projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb9d3e
)
mmc: dwmmc: socfpga: Get "fifo-mode" property from DT
author
Ley Foon Tan
<ley.foon.tan@intel.com>
Mon, 26 Apr 2021 05:17:46 +0000
(13:17 +0800)
committer
Peng Fan
<peng.fan@nxp.com>
Tue, 22 Jun 2021 04:02:32 +0000
(12:02 +0800)
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>
drivers/mmc/socfpga_dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/socfpga_dw_mmc.c
b/drivers/mmc/socfpga_dw_mmc.c
index d6d2d57214110179bfae3dc62c88cf217a6c346b..be3d8bfb3d71288ed65ee7b1bad445bd98ccd63c 100644
(file)
--- 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;
}