[U-Boot] [U-Boot, v2] mmc: atmel: Properly fix clock configuration

Andreas Bießmann andreas.devel at googlemail.com
Wed Jan 27 13:59:59 CET 2016


Dear Gregory CLEMENT,

Gregory CLEMENT <gregory.clement at free-electrons.com> writes:
>Timing issue occurs on eMMC not only when modifying the frequency but
>also for all the switch command(CMD6). According to the MMC spec waiting
>8 clocks after a switch command would be the thing to do.
>
>This patch allows fixing CPU hang observed when trying to changing the
>bus width on a eMMC on SAMA5D4.
>
>Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
>Tested-by: Marek Vasut <marex at denx.de> # on DENX MA5D4EV
>Acked-by: Marek Vasut <marex at denx.de>
>Tested-by: Andreas Bießmann <andreas.devel at googlemail.com> # on atngw100
>Acked-by: Andreas Bießmann <andreas.devel at googlemail.com>
>[fixed minor checkpatch warning]
>Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
> drivers/mmc/gen_atmel_mci.c | 15 ++++++++++++---
> 1 file changed, 12 insertions(+), 3 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list