From 4690ddd87a9baa1fc87d02cc42db6139d94b8356 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 12 Oct 2004 09:09:16 +0000 Subject: Bus controller inits are valid for all models. Corrected WCR1 init according to the datasheet (dontcare bits shall be written as 1) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5256 a1c6a512-1295-4272-9138-f99709370657 --- firmware/system.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/firmware/system.c b/firmware/system.c index 16bea107d6..70424c07a8 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -492,13 +492,9 @@ void system_init(void) BCR |= 0x2000; /* 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 and for the Ondio. */ -#if defined(HAVE_RECORDING) || defined(HAVE_MMC) - WCR1 = 0x4000; /* Long wait states for CS6 (ATA), short for the rest. */ + running from flash. */ + WCR1 = 0x40FD; /* Long wait states for CS6 (ATA), short for the rest. */ WCR3 = 0x8000; /* WAIT is pulled up, 1 state inserted for CS6 */ -#endif - } /* Utilize the user break controller to catch invalid memory accesses. */ -- cgit v1.2.3