Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/exynos FDT XU4 fix uboot support



details:   https://anonhg.NetBSD.org/src/rev/1ca036399caa
branches:  trunk
changeset: 342274:1ca036399caa
user:      marty <marty%NetBSD.org@localhost>
date:      Mon Dec 14 05:13:01 2015 +0000

description:
FDT XU4 fix uboot support

remove some code I thought I'd previously removed which causes data
aborts if uboot is invoked with 'bootm ADDR - ADDR'.

diffstat:

 sys/arch/evbarm/exynos/exynos_start.S |  20 ++------------------
 1 files changed, 2 insertions(+), 18 deletions(-)

diffs (41 lines):

diff -r 4010cb9440f4 -r 1ca036399caa sys/arch/evbarm/exynos/exynos_start.S
--- a/sys/arch/evbarm/exynos/exynos_start.S     Mon Dec 14 03:49:54 2015 +0000
+++ b/sys/arch/evbarm/exynos/exynos_start.S     Mon Dec 14 05:13:01 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exynos_start.S,v 1.1 2015/12/06 00:33:44 marty Exp $   */
+/*     $NetBSD: exynos_start.S,v 1.2 2015/12/14 05:13:01 marty Exp $   */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
 
 #include <evbarm/exynos/platform.h>
 
-RCSID("$NetBSD: exynos_start.S,v 1.1 2015/12/06 00:33:44 marty Exp $")
+RCSID("$NetBSD: exynos_start.S,v 1.2 2015/12/14 05:13:01 marty Exp $")
 
 
 #if defined(VERBOSE_INIT_ARM)
@@ -118,22 +118,6 @@
 #endif
        stmia   r4, {r0-r3}                     // Save the arguments
 
-       movw    r4, #:lower16:bootargs
-       movt    r4, #:upper16:bootargs
-#if KERNEL_BASE_VOFFSET != 0
-       sub     r4, r4, #KERNEL_BASE_VOFFSET
-#endif
-
-       cmp     r3, #0
-       beq     1f
-2:
-       ldrb    r0, [r3], #1
-       strb    r0, [r4], #1
-       teq     r0, #0
-       bne     2b
-
-1:
-
        /*
         * For easy and early SoC / PoP dependency, retrieve the IDs
         */



Home | Main Index | Thread Index | Old Index