Thread (2 messages) flat view 2 messages, 2 authors, 2001-02-15

How does one get physical address for iorempped window?

From: Subodh Nijsure <hidden>
Date: 2001-02-15 16:05:07

[ Perhaps not directly linux-ppc question ]

I am trying to get jffs working on my board and in trying to debug this
I need to know this.  The jffs driver requires that I map the flash address
space usinng ioremap_nocache or ioremap, when debugging I need to see exactly
which addresses its writing the CFI query commands.

My question is --

If I map memory window using ioremap_nocache() if I use virt_to_phys()
should one get back the actual physical address? If virt_to_phys is not
the correct function to use, how do I get  exact physical address?

Thanks.

/Subodh Nijsure

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help