• Simon Horman's avatar
    mmc, sh: Correct value for reset · 1ae0affe
    Simon Horman authored
    This resolves a regression that I introduced in
    "mmc, sh: Move constants to sh_mmcif.h". Having
    examined the manual and tested the code on an AP4EVB board
    it seems that the correct sequence is.
    
    1) Write 1 to bit 31 and zeros to all other bits
    2) Write zero to all bits
    
    Cc: Yusuke Goda <yusuke.goda.sx@renesas.com>
    Cc: Magnus Damm <magnus.damm@gmail.com>
    Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    1ae0affe
sh_mmcif.h 6.01 KB