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

laforge at sita.openmoko.org laforge at sita.openmoko.org
Sat May 12 13:23:36 CEST 2007


Author: laforge
Date: 2007-05-12 13:23:31 +0200 (Sat, 12 May 2007)
New Revision: 1949

Modified:
   trunk/src/target/u-boot/patches/uboot-s3c2440.patch
Log:
S3C2440/SMDK2440/HXD8: to support resume logic (Matt Hsu)


Modified: trunk/src/target/u-boot/patches/uboot-s3c2440.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-s3c2440.patch	2007-05-11 23:44:50 UTC (rev 1948)
+++ trunk/src/target/u-boot/patches/uboot-s3c2440.patch	2007-05-12 11:23:31 UTC (rev 1949)
@@ -848,7 +848,22 @@
  
  #ifndef CONFIG_SKIP_LOWLEVEL_INIT
  #ifndef CONFIG_LL_INIT_NAND_ONLY
-@@ -290,6 +317,7 @@
+@@ -274,7 +301,7 @@
+ #if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && defined(CONFIG_LL_INIT_NAND_ONLY)
+ 	bl	cpu_init_crit
+ #endif
+-#if defined(CONFIG_S3C2410)
++#if defined(CONFIG_S3C2410) || defined(CONFIG_S3C2440)
+ 	/* ensure some refresh has happened */
+ 	ldr	r1, =0xfffff
+ 1:	subs	r1, r1, #1
+@@ -285,11 +312,12 @@
+ 	ldr	r0, [ r1 ]
+ 	tst	r0, #0x02		/* is this resume from power down */
+ 	ldrne	pc, [r1, #4]		/* gstatus3 */
+-#endif /* CONFIG_S3C2410 */
++#endif /* CONFIG_S3C2410 || CONFIG_S3C2440 */
+ #endif /* CONFIG_SKIP_LOWLEVEL_INIT */
  
  	/* mov	r10, lr */
  





More information about the commitlog mailing list