All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Value of CFG_PCI_MEMBASE
Date: Thu, 12 Jun 2008 11:51:37 +0200	[thread overview]
Message-ID: <200806121151.37838.sr@denx.de> (raw)
In-Reply-To: <73FA539107892C4C8C7A5ACA10C161C803A81A@MX2.AlphionCorp.local>

On Wednesday 11 June 2008, Sachin Rane wrote:
> In the 'include/configs/ocotea.h" file:
> 8<-------------------------------------------------------------------------
>----------------------------
>
> #define CFG_PCI_MEMBASE     0x80000000      /* mapped pci memory        */

This is the virtual address.

> 8<-------------------------------------------------------------------------
>----------------------------
>
> But the Memory map of the Ocotea board (PPC440GX? Evaluation Board User's
> Manual) has mentioned about the PCI memory  as: Start Address (32 Bit) -
> 9000 0000
> End Address (32 Bit) - 9FFF FFFF
> Start Address (36 Bit) - 3 0000 0000
> End Address (36 Bit) - 3 0FFF FFFF
> Size - 256MB 256 MB

The users manual referrs to the physical (36bit) address.

> I am not clear about the logic behind the value assigned to CFG_PCI_MEMBASE
>    i.e. 0x80000000

The mapping between virtual and physical address is done via the MMU. I 
suggest you take a look at the init.S file in the board directory. This 
should make it clear.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-06-12  9:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 12:42 [U-Boot-Users] Value of CFG_PCI_MEMBASE Sachin Rane
2008-06-12  9:51 ` Stefan Roese [this message]
2008-06-16  6:12   ` Sachin Rane
2008-06-16  7:43     ` Stefan Roese
2008-06-16 15:48       ` Sachin
2008-06-20  6:44         ` Stefan Roese
2008-06-13  6:32 ` Sachin
2008-06-13  9:04   ` Sachin

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=200806121151.37838.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.