public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] 85xx/p2020ds: Use is_serdes_configured() to determine of PCIe enabled
Date: Thu, 27 May 2010 13:20:16 +0200	[thread overview]
Message-ID: <20100527112016.24164EAC238@gemini.denx.de> (raw)
In-Reply-To: <5F58DE0B-6EF8-4ED6-A1A8-C0E37C8539BE@kernel.crashing.org>

Dear Kumar Gala,

In message <5F58DE0B-6EF8-4ED6-A1A8-C0E37C8539BE@kernel.crashing.org> you wrote:
> 
> This is my fault.  However not sure what to do about it since we'd break
> compatibility with kernel .dts to clean this up.
> 
> 99% of the u-boot code should match the HW docs.  In this one place I
> tried to "rename" things such that it made sense.  The pci aliases in
> the .dts are in order of address (so whatever HW controller is @ 0x8000
> would be "pci0", 0x9000 - "pci1", etc.)

This doesn't seem to be the case in U-Boot; here we see:

#define CONFIG_SYS_PCIE3_ADDR           (CONFIG_SYS_CCSRBAR+0x8000)
#define CONFIG_SYS_PCIE2_ADDR           (CONFIG_SYS_CCSRBAR+0x9000)
#define CONFIG_SYS_PCIE1_ADDR           (CONFIG_SYS_CCSRBAR+0xa000)

i. e. the highest number is at the lowest address??



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The easiest way to figure the cost of living is to take  your  income
and add ten percent.

  reply	other threads:[~2010-05-27 11:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  9:17 [U-Boot] [PATCH] 85xx: Add is_serdes_configured() support for P2020 SERDES Kumar Gala
2010-05-21  9:17 ` [U-Boot] [PATCH] 85xx/p2020ds: Use is_serdes_configured() to determine of PCIe enabled Kumar Gala
2010-05-26 20:46   ` Timur Tabi
2010-05-26 21:37   ` Timur Tabi
2010-05-27  7:08   ` Wolfgang Denk
2010-05-27  8:42     ` Kumar Gala
2010-05-27 11:20       ` Wolfgang Denk [this message]
2010-05-27 12:45         ` Kumar Gala
2010-05-27 13:20           ` Wolfgang Denk
2010-05-27 15:47             ` Kumar Gala
2010-05-27 19:38           ` Scott Wood
2010-05-27 21:27             ` Kumar Gala
2010-05-27 21:28               ` Timur Tabi
2010-05-27 21:38   ` Timur Tabi
2010-05-28 12:53     ` Kumar Gala
2010-05-28 14:33       ` Timur Tabi
2010-05-21 11:43 ` [U-Boot] [PATCH] 85xx: Add is_serdes_configured() support for P2020SERDES Li Yang
     [not found] ` <6D3E1D972AA8904199D0D412F4A64CBD024CF99A@zch01exm26.fsl.freescale.net>
2010-05-21 12:51   ` Kumar Gala

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=20100527112016.24164EAC238@gemini.denx.de \
    --to=wd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox