From: Joonyoung Shim <jy0922.shim@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] s3c64xx: Add ifdef at the S3C64XX only codes
Date: Mon, 08 Feb 2010 19:55:48 +0900 [thread overview]
Message-ID: <4B6FEDB4.5070104@samsung.com> (raw)
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.shim@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
next reply other threads:[~2010-02-08 10:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-08 10:55 Joonyoung Shim [this message]
2010-02-08 11:23 ` [U-Boot] [PATCH] s3c64xx: Add ifdef at the S3C64XX only codes Joonyoung Shim
2010-02-08 12:51 ` Minkyu Kang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B6FEDB4.5070104@samsung.com \
--to=jy0922.shim@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.