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)
downloadrockbox-dea2434f3ca03d891cf76d79852b8f8c02f5e6e8.tar.gz
rockbox-dea2434f3ca03d891cf76d79852b8f8c02f5e6e8.zip
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)
824 return oldmode; 824 return oldmode;
825} 825}
826#endif 826#endif
827
828#if CONFIG_CPU != SH7034
829/* this does nothing on non-SH systems */
830int system_memory_guard(int newmode)
831{
832 (void)newmode;
833 return 0;
834}
835void system_reboot (void)
836{
837 /* dummy */
838}
839#endif