]> git.karo-electronics.de Git - mv-sheeva.git/commit
mmc, sh: Move constants to sh_mmcif.h
authorSimon Horman <horms@verge.net.au>
Tue, 9 Nov 2010 08:47:02 +0000 (17:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 10 Nov 2010 09:25:10 +0000 (18:25 +0900)
commitda1d39e3903bc35be2b5e8d2116fdd5d337244d4
tree29f84c830cec7732f6a2868498d40ccbeccf9244
parenta7bcf21e60c73cb7f7c13fad928967d7e47c3cac
mmc, sh: Move constants to sh_mmcif.h

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: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/mmc/host/sh_mmcif.c
include/linux/mmc/sh_mmcif.h