From: t.dakhran@gmail.com (Tarek Dakhran)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 1/1] ARM: EXYNOS: fix DEBUG_LL on Cortex-A7.
Date: Sun, 17 May 2015 09:42:03 +0300 [thread overview]
Message-ID: <1431844923-4654-2-git-send-email-t.dakhran@gmail.com> (raw)
In-Reply-To: <1431844923-4654-1-git-send-email-t.dakhran@gmail.com>
Cortex-A7 has EXYNOS5_PA_UART base address for UART.
If system boots from Cortex-A7 CPU addruart loads wrong
address. This patch fixex this.
Signed-off-by: Tarek Dakhran <t.dakhran@gmail.com>
---
arch/arm/include/debug/exynos.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/debug/exynos.S b/arch/arm/include/debug/exynos.S
index b17fdb7..a61b3ea 100644
--- a/arch/arm/include/debug/exynos.S
+++ b/arch/arm/include/debug/exynos.S
@@ -24,6 +24,7 @@
mrc p15, 0, \tmp, c0, c0, 0
and \tmp, \tmp, #0xf0
teq \tmp, #0xf0 @@ A15
+ teqne \tmp, #0x70 @@ A7
ldreq \rp, =EXYNOS5_PA_UART
movne \rp, #EXYNOS4_PA_UART @@ EXYNOS4
ldr \rv, =S3C_VA_UART
--
1.9.1
next prev parent reply other threads:[~2015-05-17 6:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-17 6:42 [PATCH v1 0/1] fix DEBUG_LL on Cortex-A7 Tarek Dakhran
2015-05-17 6:42 ` Tarek Dakhran [this message]
2015-05-18 1:52 ` [PATCH v1 1/1] ARM: EXYNOS: " Chanho Park
2015-05-18 7:31 ` Tarek Dakhran
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=1431844923-4654-2-git-send-email-t.dakhran@gmail.com \
--to=t.dakhran@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).