linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: BCMRING: Add debug macro
@ 2012-03-09 22:07 JD (Jiandong) Zheng
  0 siblings, 0 replies; 3+ messages in thread
From: JD (Jiandong) Zheng @ 2012-03-09 22:07 UTC (permalink / raw)
  To: linux-arm-kernel

Add debug macro to bcmring so that it supports LL debug and early printk.

Signed-off-by: Jiandong Zheng jdzheng at broadcom.com
---
 arch/arm/mach-bcmring/include/mach/debug-macro.S |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100755 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 100755
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.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: BCMRING: Add debug macro
@ 2012-05-01 19:54 Jiandong Zheng
  0 siblings, 0 replies; 3+ messages in thread
From: Jiandong Zheng @ 2012-05-01 19:54 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: BCMRING: Add debug macro
@ 2012-05-07 19:35 Jiandong Zheng
  0 siblings, 0 replies; 3+ messages in thread
From: Jiandong Zheng @ 2012-05-07 19:35 UTC (permalink / raw)
  To: linux-arm-kernel

Add debug macro for bcmring.

It is to support low-level debugging and earlyprintk.

Signed-off-by: Jiandong Zheng<jdzheng@broadcom.com  <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>>
---
   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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-07 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07 19:35 [PATCH] ARM: BCMRING: Add debug macro Jiandong Zheng
  -- strict thread matches above, loose matches on Subject: below --
2012-05-01 19:54 Jiandong Zheng
2012-03-09 22:07 JD (Jiandong) Zheng

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).