dslinux/linux-2.6.x/arch/arm/mach-nds Kconfig head.S
amadeus
dslinux_amadeus at user.in-berlin.de
Mon Jul 3 22:23:31 CEST 2006
Update of /cvsroot/dslinux/dslinux/linux-2.6.x/arch/arm/mach-nds
In directory antilope:/tmp/cvs-serv4071/linux-2.6.x/arch/arm/mach-nds
Modified Files:
Kconfig head.S
Log Message:
Add some support for GBA slot 8bit write
Index: head.S
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/arch/arm/mach-nds/head.S,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- head.S 27 Jun 2006 16:00:33 -0000 1.15
+++ head.S 3 Jul 2006 20:23:29 -0000 1.16
@@ -268,8 +268,11 @@
@-------------------------------------------------------------------------
@ Disable data cache for GBA ROM, until we have full 8bit write support.
@ gGViWDMI
- @ldr r0,=0b10000010
+#ifdef CONFIG_NDS_ROM8BIT
+ ldr r0,=0b10000010
+#else
ldr r0,=0b00000010
+#endif
mcr p15, 0, r0, c2, c0, 0
@-------------------------------------------------------------------------
Index: Kconfig
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/arch/arm/mach-nds/Kconfig,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Kconfig 24 Apr 2006 22:05:05 -0000 1.4
+++ Kconfig 3 Jul 2006 20:23:29 -0000 1.5
@@ -41,4 +41,13 @@
Helper tool for ARM7 sound testing.
If unsure, say N.
+config NDS_ROM8BIT
+ bool "Support for using GBA ROM space as 8-bit-writable memory"
+ depends on ARCH_NDS
+ default n
+ help
+ Saying Y here will enable the code to use the GBA ROM memory
+ area as general purpose RAM. You need a GBA cardridge with RAM
+ in the GBA ROM area, and a special gnu compiler for this.
+ If unsure, say N.
endmenu
More information about the dslinux-commit
mailing list