From: jdzheng@broadcom.com (Jiandong Zheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: BCMRING: Add debug macro
Date: Tue, 1 May 2012 12:54:58 -0700 [thread overview]
Message-ID: <4FA03F92.5090104@broadcom.com> (raw)
Add debug macro for bcmring.
It is to support low-level debugging and earlyprintk.
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>
---
arch/arm/mach-bcmring/include/mach/debug-macro.S | 19
+++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 arch/arm/mach-bcmring/include/mach/debug-macro.S
diff --git a/arch/arm/mach-bcmring/include/mach/debug-macro.S
b/arch/arm/mach-bcmring/include/mach/debug-macro.S
new file mode 100644
index 0000000..fae01fd
--- /dev/null
+++ b/arch/arm/mach-bcmring/include/mach/debug-macro.S
@@ -0,0 +1,19 @@
+/* arch/arm/mach-bcmring/include/mach/debug-macro.S
+ *
+ * Debugging macro include header
+ *
+ * Based on arch/arm/mach-versatile/include/mach/debug-macro.S
+ * by Jiandong Zheng
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+ .macro addruart, rp, rv, tmp
+ mov \rp, #0x00012000
+ orr \rv, \rp, #0xf8000000 @ virtual base
+ orr \rp, \rp, #0x80000000 @ physical base
+ .endm
+
+#include <asm/hardware/debug-pl01x.S>
--
1.7.9.5
next reply other threads:[~2012-05-01 19:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-01 19:54 Jiandong Zheng [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-05-07 19:35 [PATCH] ARM: BCMRING: Add debug macro Jiandong Zheng
2012-03-09 22:07 JD (Jiandong) Zheng
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=4FA03F92.5090104@broadcom.com \
--to=jdzheng@broadcom.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 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.