Thread (2 messages) 2 messages, 2 authors, 2011-01-27

[PATCH] ARM: map ATAGs when not in first 1MB of RAM

From: Russell King - ARM Linux <hidden>
Date: 2011-01-27 16:31:49
Also in: linux-devicetree

On Thu, Jan 27, 2011 at 09:50:43AM -0600, Rob Herring wrote:
+	/*
+	 * Otherwise map the 1MB region r2 points to (atags or dtb)
+	 */
+1:	mov	r0, r2, lsr #20
+	mov	r0, r0, lsl #20
+	sub	r3, r0, #(PHYS_OFFSET & 0xff000000)
+	.if	(PHYS_OFFSET & 0x00f00000)
+	sub	r3, r3, #(PHYS_OFFSET & 0x00f00000)
This introduces new PHYS_OFFSET uses which we're trying hard to get
rid of.  This will need to be reworked.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help