Skip to content
  • Simon Horman's avatar
    mmc, sh: Move constants to sh_mmcif.h · da1d39e3
    Simon Horman authored
    
    
    This moves some constants from sh_mmcif.c to sh_mmcif.h
    so that they can be used in sh_mmcif_boot_init().
    
    It also alters the definition of SOFT_RST_OFF from (0 << 31) to
    ~SOFT_RST_ON (= ~(1 << 31)). The former seems bogus.  The latter is
    consistent with the code in sh_mmcif_boot_init().
    
    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>
    da1d39e3