public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* m8260_map_io
@ 2007-03-16 18:36 aldo lab
  2007-03-16 18:39 ` m8260_map_io Sergei Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: aldo lab @ 2007-03-16 18:36 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all,

I've seen a region of 256MB starting from 0xe0000000 that is io
blocking with a BAT filled with Inhibit cache and guarded.
do you know which is the reason of this mapping because is not so
clear from the code.

201 static void __init
202 m8260_map_io(void)
203 {
204         uint addr;
205
206         /* Map IMMR region to a 256MB BAT */
207         addr = (cpm2_immr != NULL) ? (uint)cpm2_immr : CPM_MAP_ADDR;
208         io_block_mapping(addr, addr, 0x10000000, _PAGE_IO);
209
210         /* Map I/O region to a 256MB BAT */
211         io_block_mapping(IO_VIRT_ADDR, IO_PHYS_ADDR, 0x10000000, _PAGE_IO);
212 }
213



Thank you
Aldo

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

end of thread, other threads:[~2007-03-19  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 18:36 m8260_map_io aldo lab
2007-03-16 18:39 ` m8260_map_io Sergei Shtylyov
2007-03-19  8:37   ` m8260_map_io aldo lab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox