r4255 - trunk/src/target/u-boot/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Wed Mar 26 13:48:40 CET 2008


Author: werner
Date: 2008-03-26 13:48:37 +0100 (Wed, 26 Mar 2008)
New Revision: 4255

Modified:
   trunk/src/target/u-boot/patches/remap-vec.patch
Log:
remap-vec.patch:
- board/neo1973/gta02/gta02.c (board_init): we always use the remapping on
  GTA02, not only when booting from NOR



Modified: trunk/src/target/u-boot/patches/remap-vec.patch
===================================================================
--- trunk/src/target/u-boot/patches/remap-vec.patch	2008-03-26 12:44:47 UTC (rev 4254)
+++ trunk/src/target/u-boot/patches/remap-vec.patch	2008-03-26 12:48:37 UTC (rev 4255)
@@ -20,7 +20,7 @@
 ===================================================================
 --- u-boot.orig/board/neo1973/gta02/gta02.c
 +++ u-boot/board/neo1973/gta02/gta02.c
-@@ -220,17 +220,26 @@
+@@ -215,17 +215,28 @@
  	dcache_enable();
  
  	/*
@@ -42,7 +42,9 @@
 +	 * particularly necessary when we boot, since the operating system may
 +	 * not expect to find this sort of mapping to be active.
  	 */
- 	if (booted_from_nor) {
+-	if (booted_from_nor) {
++#ifdef CONFIG_GTA02_REVISION
++	{
  		extern char _start;
  
 -		while (neo1973_aux_key_pressed());
@@ -50,6 +52,7 @@
 +		memcpy((void *) 0x30000000, &_start, 0x40);
  	}
 -
++#endif
  	return 0;
  }
  





More information about the commitlog mailing list