r1989

dslinux_amadeus at dslinux.in-berlin.de dslinux_amadeus at dslinux.in-berlin.de
Sun Oct 14 09:12:00 CEST 2007


Author: amadeus
Date: 2007-10-14 09:11:55 +0200 (Sun, 14 Oct 2007)
New Revision: 1989

Log:
remove turbo mode because of M3 problem

Modified: trunk/linux-2.6.x/arch/arm/mach-nds/gbaram.c
===================================================================
--- trunk/linux-2.6.x/arch/arm/mach-nds/gbaram.c	2007-10-11 22:39:01 UTC (rev 1988)
+++ trunk/linux-2.6.x/arch/arm/mach-nds/gbaram.c	2007-10-14 07:11:55 UTC (rev 1989)
@@ -379,6 +379,11 @@
 
 activated:
 
+// Turbo mode detection does break DLDI driver for M3 ...
+// For Supercard (lite), and maybe other SDRAM memory, Turbo mode is not working
+// because of the slow interface. The only cards where Turbo mode MAY be working
+// is the opera expansion and the 3in1 expansion because they are using PSRAM.
+#if 0
 	{
 		/* the TURBO mode: try to lower the access time to GBA ROM space */
 		unsigned short wait_value;
@@ -414,6 +419,7 @@
         	writew( wait_value, WAIT_CR);
 		printk(KERN_INFO "WAIT_CR set to: 0x%X\n", (int)wait_value);
 	}
+#endif
 
 	/* Activate the data cache for GBA ROM space so CONFIG_NDS_ROM8BIT can work */
 	{




More information about the dslinux-commit mailing list