Skip to content
  • Przemyslaw Marczak's avatar
    arm:reset: call the reset_misc() before the cpu reset · 1fb4dab2
    Przemyslaw Marczak authored
    
    
    On an Odroid U3 board, the SOC is unable to reset the eMMC card
    in the DWMMC mode by the cpu software reset. Manual reset of the card
    by switching proper gpio pin - fixes this issue.
    
    Such solution needs to add a call to pre reset function.
    This is done by the reset_misc() function, which is called before reset_cpu().
    The function reset_misc() is a weak function.
    
    Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
    Cc: Minkyu Kang <mk7.kang@samsung.com>
    Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
    Cc: Tom Rini <trini@ti.com>
    
    Changes v4:
    - arch/arm/reset: fix weak function attribute to proper style
    Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
    1fb4dab2