summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-02 21:56:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-02 21:56:03 +0000
commitdea2434f3ca03d891cf76d79852b8f8c02f5e6e8 (patch)
tree6e63e4b3d85f1be0e55123bbd70e3e1a69fe1748 /firmware
parent6ff399fabad86d85d2b9bf7af22945cff1c00a2b (diff)
provide system_memory_guard() and system_reboot() dummies for coldfire target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5749 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 2c0f03b7ad..757fe9e651 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -824,3 +824,16 @@ int system_memory_guard(int newmode)
return oldmode;
}
#endif
+
+#if CONFIG_CPU != SH7034
+/* this does nothing on non-SH systems */
+int system_memory_guard(int newmode)
+{
+ (void)newmode;
+ return 0;
+}
+void system_reboot (void)
+{
+ /* dummy */
+}
+#endif