summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-common
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-18 16:43:15 +0200
committerPaul Mundt <lethal@linux-sh.org>2010-05-31 06:11:54 +0200
commit4705b2e8047221142af2ed5e37f54ac4c7f80a7d (patch)
tree5e0d52a2f3ffebfd56f1f2d69f6be3b7ac72d7ad /arch/sh/include/mach-common
parentsh: add boot code to MMCIF driver header (diff)
downloadlinux-4705b2e8047221142af2ed5e37f54ac4c7f80a7d.tar.xz
linux-4705b2e8047221142af2ed5e37f54ac4c7f80a7d.zip
sh: add romImage MMCIF boot for sh7724 and Ecovec V2
This patch is V2 of the MMCIF romImage boot support for sh7724 and the Ecovec board. With this patch applied and CONFIG_ROMIMAGE_MMCIF selected the romImage kernel image can be written to a MMC card and booted directly by the sh7724 cpu. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-common')
-rw-r--r--arch/sh/include/mach-common/mach/romimage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/include/mach-common/mach/romimage.h b/arch/sh/include/mach-common/mach/romimage.h
index 267e24112d82..08fb42269ecd 100644
--- a/arch/sh/include/mach-common/mach/romimage.h
+++ b/arch/sh/include/mach-common/mach/romimage.h
@@ -1 +1,11 @@
+#ifdef __ASSEMBLY__
+
/* do nothing here by default */
+
+#else /* __ASSEMBLY__ */
+
+extern inline void mmcif_update_progress(int nr)
+{
+}
+
+#endif /* __ASSEMBLY__ */