From 6a4ed54e966089ca3d7a11eea6c5c7b36a764771 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 10 Oct 2004 22:37:56 +0000 Subject: 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 --- firmware/system.c | 4 ++-- 1 file 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 -- cgit v1.2.3