summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-10 22:37:56 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-10 22:37:56 +0000
commit6a4ed54e966089ca3d7a11eea6c5c7b36a764771 (patch)
tree384093301954166f401ebf14dd7485082e4d1858 /firmware
parent5789ee99286a487e1764bd9b52562e1a79b5d4e7 (diff)
Properly initialize the bus controller for Ondio as well. Fixes coldstart from flash on Ondio SP, both classic and RomBox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5248 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 234e29433d..16bea107d6 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -493,8 +493,8 @@ void system_init(void)
/* Bus state controller initializations. These are only necessary when
running from flash. The correct settings for player models are not
- verified, so we only do this for the recorder. */
-#ifdef HAVE_RECORDING
+ verified, so we only do this for the recorder and for the Ondio. */
+#if defined(HAVE_RECORDING) || defined(HAVE_MMC)
WCR1 = 0x4000; /* Long wait states for CS6 (ATA), short for the rest. */
WCR3 = 0x8000; /* WAIT is pulled up, 1 state inserted for CS6 */
#endif