Thread (51 messages) 51 messages, 4 authors, 2011-08-17

Re: [PATCH 15/24] C6X: cache control

From: David Howells <dhowells@redhat.com>
Date: 2011-08-09 17:03:23

Arnd Bergmann [off-list ref] wrote:
quoted
+#define IMCR_BASE	  0x01840000
Please don't hardcode MMIO regions like this. You should have the base
address in the device tree and use of_iomap() like you do in some other
cases.  If you need this really early, you might need to
What about for memory-mapped CPU registers that you might need to access in
head.S?

MN10300, for example, has a bunch of these - such the atomic operation
parameter and control registers.  Getting some of these through the device
tree adds potentially quite a lot of overhead.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help