summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorSimon Horman2010-12-06 01:12:44 +0100
committerPaul Mundt2010-12-08 08:24:21 +0100
commit9f843706bb87837b823228467f4f83973fd110e9 (patch)
tree8072b05668ce169120f74733f3a9cdda1e24ee80 /include/linux/mmc
parentsh, mmc: Use defines when setting CE_CLK_CTRL (diff)
downloadkernel-qcow2-linux-9f843706bb87837b823228467f4f83973fd110e9.tar.gz
kernel-qcow2-linux-9f843706bb87837b823228467f4f83973fd110e9.tar.xz
kernel-qcow2-linux-9f843706bb87837b823228467f4f83973fd110e9.zip
mmc, sh: Move MMCIF_PROGRESS_* into sh_mmcif.h
Allow MMCIF_PROGRESS_* to be shared. 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>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/sh_mmcif.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/sh_mmcif.h b/include/linux/mmc/sh_mmcif.h
index ffabf8c0a531..6a98e97c49f8 100644
--- a/include/linux/mmc/sh_mmcif.h
+++ b/include/linux/mmc/sh_mmcif.h
@@ -97,6 +97,9 @@ static inline void sh_mmcif_writel(void __iomem *addr, int reg, u32 val)
#define SH_MMCIF_BBS 512 /* boot block size */
+enum { MMCIF_PROGRESS_ENTER, MMCIF_PROGRESS_INIT,
+ MMCIF_PROGRESS_LOAD, MMCIF_PROGRESS_DONE };
+
static inline void sh_mmcif_boot_cmd_send(void __iomem *base,
unsigned long cmd, unsigned long arg)
{