]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: dw_mmc: Replace fifoth_val property with fifo-depth
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 8 Aug 2024 03:14:17 +0000 (22:14 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 19 Aug 2024 07:09:06 +0000 (16:09 +0900)
commitffd62e051b6d42a408f4c750f8f35603453fe577
tree9fbf80890c5ea7a0e16aaaf3c63ed8337f4f5f5d
parente760a245e2c5463a91fd86b122a35aed91326232
mmc: dw_mmc: Replace fifoth_val property with fifo-depth

Replace fifoth_val property with its fifo-depth counterpart in all DW
MMC drivers. fifo-depth is a common property used in upstream Linux
kernel. The FIFOTH register value will be calculated using fifo-depth
value in DW MMC core (dw_mmc.c). This change reduces code duplication in
platform drivers, and pulls common FIFOTH register value calculation
into core dw_mmc driver where it belongs.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/dw_mmc.c
drivers/mmc/exynos_dw_mmc.c
drivers/mmc/ftsdc010_mci.h
drivers/mmc/hi6220_dw_mmc.c
drivers/mmc/nexell_dw_mmc.c
drivers/mmc/rockchip_dw_mmc.c
drivers/mmc/snps_dw_mmc.c
drivers/mmc/socfpga_dw_mmc.c
include/dwmmc.h