public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc4xx: Implement is_pci_host() for 405 CPUs
Date: Mon, 6 Jul 2009 07:27:19 +0200	[thread overview]
Message-ID: <200907060727.19732.sr@denx.de> (raw)
In-Reply-To: <200907031606.06236.matthias.fuchs@esd.eu>

On Friday 03 July 2009 16:06:06 Matthias Fuchs wrote:
> This patch implements the is_pci_host() function in a similiar way
> as it is used on 440 targets.
>
> The former path with CONFIG_PCI_HOST == PCI_HOST_AUTO does not
> build on 405EP targets because checking the PCI arbiter is different.
> So putting the fixed code into a separate function makes the code
> more readable.
>
> Also using is_pci_host() on 405 brings 405 and 440 PCI code
> a little bit closer.
>
> In preparation for an upcoming 405EP based PMC module I made this
> function weak so that it can be overwritten from board specific code.

Applied to ppc4xx. Thanks.

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:[~2009-07-06  5:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-03 14:06 [U-Boot] [PATCH] ppc4xx: Implement is_pci_host() for 405 CPUs Matthias Fuchs
2009-07-06  5:27 ` Stefan Roese [this message]

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=200907060727.19732.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox