r1754
dslinux_amadeus at dslinux.in-berlin.de
dslinux_amadeus at dslinux.in-berlin.de
Wed May 9 21:24:35 CEST 2007
Author: amadeus
Date: 2007-05-09 21:24:29 +0200 (Wed, 09 May 2007)
New Revision: 1754
Log:
Disable "Turbo" Mode because it might not be reliable
Modified: trunk/linux-2.6.x/arch/arm/mach-nds/gbaram.c
===================================================================
--- trunk/linux-2.6.x/arch/arm/mach-nds/gbaram.c 2007-05-07 20:43:35 UTC (rev 1753)
+++ trunk/linux-2.6.x/arch/arm/mach-nds/gbaram.c 2007-05-09 19:24:29 UTC (rev 1754)
@@ -311,6 +311,8 @@
activated:
+/* It is very difficult to detect the ability for fast RAM access reliable */
+#if 0
/* the TURBO mode: try to lower the access time to GBA ROM space */
#define WAIT_CR 0x04000204
@@ -326,7 +328,7 @@
/* failure: stay slow */
writew( readw(WAIT_CR) & ~0x0010, WAIT_CR);
}
-
+#endif
/* Activate the data cache for GBA ROM space so CONFIG_NDS_ROM8BIT can work */
{
/* this is the same pattern used in head.S */
More information about the dslinux-commit
mailing list