From: Sergei Shtylyov <sshtylyov@ru•mvista.com>
To: aldo lab <aldo.lab@gmail•com>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: m8260_map_io
Date: Fri, 16 Mar 2007 21:39:25 +0300 [thread overview]
Message-ID: <45FAE45D.7000908@ru.mvista.com> (raw)
In-Reply-To: <6e41d1460703161136q7afb3077r49b11cb9a123c124@mail.gmail.com>
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
next prev parent reply other threads:[~2007-03-16 18:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-16 18:36 m8260_map_io aldo lab
2007-03-16 18:39 ` Sergei Shtylyov [this message]
2007-03-19 8:37 ` m8260_map_io aldo lab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45FAE45D.7000908@ru.mvista.com \
--to=sshtylyov@ru$(echo .)mvista.com \
--cc=aldo.lab@gmail$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox