]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: exynos_dw_mmc: Abstract CLKSEL register
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 8 Aug 2024 03:14:30 +0000 (22:14 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 19 Aug 2024 07:09:06 +0000 (16:09 +0900)
commita95b726e2e4a35de9b9694869293e40d3c82d754
treea83ce4e2273f94336afd22b597f1a55a0a3152d2
parentb55f03ee040383416038b2bb31e5bde138b9eca2
mmc: exynos_dw_mmc: Abstract CLKSEL register

CLKSEL register offset may vary between different Exynos chips, e.g. on
ARM64 vs ARM32 chips. Provide a way to specify its offset value for each
compatible instead of hard-coding its value in read/write calls.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/exynos_dw_mmc.c