• S
    mmc, sh: Move constants to sh_mmcif.h · da1d39e3
    Simon Horman 提交于
    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: NSimon Horman <horms@verge.net.au>
    Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
    da1d39e3
sh_mmcif.c 24.7 KB