]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: uniphier-sd: skip clock set-up for SPL
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 20 Apr 2018 09:14:25 +0000 (18:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 Apr 2018 15:35:34 +0000 (00:35 +0900)
commitfc2d0302b666cd127fca3a8a800f33841de11c41
tree81208e13938fd02ce5db0ac4fb8d5aa0751a695d
parent30b5d9aa9aee9853b6b51d93ddf16d762d20c538
mmc: uniphier-sd: skip clock set-up for SPL

The size of SPL is hitting the limit (64KB) for uniphier_v7_defconfig.
When booting from SD/eMMC, obviously its clock has been properly set up
by the boot ROM.  Acutually, no need to re-initialize the clock in SPL.

Using a clock driver would generalize the SoC specific code, but
solving the memory footprint problem would win.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/uniphier-sd.c