]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: rmobile: Fix SD divider settings on Gen3
authorMarek Vasut <marek.vasut@gmail.com>
Tue, 5 Sep 2017 13:11:14 +0000 (15:11 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 Sep 2017 00:04:40 +0000 (20:04 -0400)
commit183f5fd3caec9266432a7cbd50f59cec8bbddc6a
tree3778e664ad6d12a7900bd185e2dbe9043c617b5a
parentec6bc928bbe852a5dae242d24cfd28f868f6286c
ARM: rmobile: Fix SD divider settings on Gen3

On RCar M3 and on RCar H3 newer than and not including ES1.0, the SD clock
must be divided by 4 rather than 2 because a hardware workaround present
only in the H3 ES1.0 has been removed from these chips. U-Boot currently
only supports M3 and H3 ES 2.0 and newer, so configure the SD pre-divider
to 4 to prevent SD instability.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/ulcb.c