The pheripheral port address(0x70000000 - 0x7fffffff) exists at only
S3C64XX cpu. The pheripheral port setup codes should be executed by only
S3C64XX cpu.

Signed-off-by: Joonyoung Shim <jy0922.s...@samsung.com>
---
 cpu/arm1176/start.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cpu/arm1176/start.S b/cpu/arm1176/start.S
index 68a356d..5d9fba9 100644
--- a/cpu/arm1176/start.S
+++ b/cpu/arm1176/start.S
@@ -190,10 +190,12 @@ mmu_disable:
 #endif
 
 mmu_disable_phys:
+#ifdef CONFIG_S3C64XX
        /* Peri port setup */
        ldr     r0, =0x70000000
        orr     r0, r0, #0x13
        mcr     p15,0,r0,c15,c2,4       @ 256M (0x70000000 - 0x7fffffff)
+#endif
 
        /*
         * Go setup Memory and board specific bits prior to relocation.
-- 
1.6.3.3
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to