Re: m8260_map_io
From: Sergei Shtylyov <hidden>
Date: 2007-03-16 18:39:41
Hello. aldo lab wrote:
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
MPC82xx SoC registers are mapped there.
Thank you Aldo
WBR, Sergei