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)
downloadrockbox-6a4ed54e966089ca3d7a11eea6c5c7b36a764771.tar.gz
rockbox-6a4ed54e966089ca3d7a11eea6c5c7b36a764771.zip
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)
493 493
494 /* Bus state controller initializations. These are only necessary when 494 /* Bus state controller initializations. These are only necessary when
495 running from flash. The correct settings for player models are not 495 running from flash. The correct settings for player models are not
496 verified, so we only do this for the recorder. */ 496 verified, so we only do this for the recorder and for the Ondio. */
497#ifdef HAVE_RECORDING 497#if defined(HAVE_RECORDING) || defined(HAVE_MMC)
498 WCR1 = 0x4000; /* Long wait states for CS6 (ATA), short for the rest. */ 498 WCR1 = 0x4000; /* Long wait states for CS6 (ATA), short for the rest. */
499 WCR3 = 0x8000; /* WAIT is pulled up, 1 state inserted for CS6 */ 499 WCR3 = 0x8000; /* WAIT is pulled up, 1 state inserted for CS6 */
500#endif 500#endif