1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2004-10-10 22:37:56 +00:00
parent 5789ee9928
commit 6a4ed54e96

View file

@ -493,8 +493,8 @@ void system_init(void)
/* Bus state controller initializations. These are only necessary when /* Bus state controller initializations. These are only necessary when
running from flash. The correct settings for player models are not running from flash. The correct settings for player models are not
verified, so we only do this for the recorder. */ verified, so we only do this for the recorder and for the Ondio. */
#ifdef HAVE_RECORDING #if defined(HAVE_RECORDING) || defined(HAVE_MMC)
WCR1 = 0x4000; /* Long wait states for CS6 (ATA), short for the rest. */ WCR1 = 0x4000; /* Long wait states for CS6 (ATA), short for the rest. */
WCR3 = 0x8000; /* WAIT is pulled up, 1 state inserted for CS6 */ WCR3 = 0x8000; /* WAIT is pulled up, 1 state inserted for CS6 */
#endif #endif