Thread (7 messages) flat view 7 messages, 2 authors, 2011-02-08
STALE5663d

[PATCH 4/4] ARM: Xilinx: base header files and assembly macros

From: Russell King - ARM Linux <hidden>
Date: 2011-02-08 08:27:25

Possibly related (same subject, not in this thread)

On Mon, Feb 07, 2011 at 05:14:13PM -0700, John Linn wrote:
I'm assuming you meant to change all addresses of devices (#defines) to
use the IOMEM.

I did that and it's ok. You also have to cast them to ints when putting
the addresses into
the resource for a platform device.
Hang on.  The reason I mentioned it was because you were passing some
of these into readl() et.al.  readl() takes the mapped cookie, not the
physical address.

Physical addresses should be integer like, virtual addresses should be
pointer like.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help