Skip to content
  • Yangbo Lu's avatar
    armv8: ls1012a: define esdhc_status_fixup for RDB board · 5e4a6db8
    Yangbo Lu authored
    
    
    On LS1012ARDB board, three dual 1:4 mux/demux devices drive the SDHC2
    signals to eMMC, SDIO wifi, SPI and Ardiuno shield. Only when we select
    eMMC and SDIO wifi, the SDHC2 could be used. Otherwise, the command
    inhibit bits of eSDHC2_PRSSTAT register will never release. This would
    cause below continious error messages in linux since it uses polling
    mode to detect card.
    "mmc1: Controller never released inhibit bit(s)."
    "mmc1: Controller never released inhibit bit(s)."
    "mmc1: Controller never released inhibit bit(s)."
    This patch is to define esdhc_status_fixup function for RDB to disable
    SDHC2 status if no SDIO wifi or eMMC is selected.
    
    Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
    Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
    5e4a6db8