From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/1] pci: move pcidelay code to new location just before PCI bus scan
Date: Thu, 13 Oct 2011 15:03:43 +0200 [thread overview]
Message-ID: <201110131503.43311.sr@denx.de> (raw)
In-Reply-To: <4E96DE7A.6090406@esd.eu>
On Thursday 13 October 2011 14:50:02 Matthias Fuchs wrote:
> On 12.10.2011 10:44, Anatolij Gustschin wrote:
> > PCI cards might need some time after reset to respond. On some
> > boards (mpc5200 or mpc8260 based) the PCI bus reset is deasserted
> > at pci_init_board() time, so we currently can not use available
> > "pcidelay" option for waiting before PCI bus scan since this
> > waiting takes place before calling pci_init_board(). By moving
> > the pcidelay code to the new location using of the "pcidelay"
> > option is possible on mpc5200 or mpc8260 based boards, too.
> >
> > Since pci_hose_scan() could be called multiple times, restrict
> > the function to wait only during its first call and to ignore
> > pcidelay for any further call (as pointed out by Matthias).
> >
> > Signed-off-by: Anatolij Gustschin <agust@denx.de>
> > Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
> > ---
> >
> > Changes since first version:
> > - extend to wait only during initial pci_hose_scan() call
> >
> > as pointed out by Matthias
>
> Tested on PMC440. Works fine.
>
> Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Thanks. In this case a:
Tested-by: ...
would be even better. :)
Thanks,
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
next prev parent reply other threads:[~2011-10-13 13:03 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 14:08 [U-Boot] [PATCH 0/5] mpc5200: digsy_mtc: update for next Anatolij Gustschin
2011-05-27 14:08 ` [U-Boot] [PATCH 1/5] video: mb862xx: support Coral-PA controller Anatolij Gustschin
2011-07-04 22:32 ` Anatolij Gustschin
2011-05-27 14:08 ` [U-Boot] [PATCH 2/5] pci: option for configurable delay between pci reset and pci bus scan Anatolij Gustschin
2011-05-27 15:26 ` Detlev Zundel
2011-05-27 16:43 ` Anatolij Gustschin
2011-05-30 7:45 ` Detlev Zundel
2011-05-30 14:10 ` Stefan Roese
2011-10-11 15:16 ` Anatolij Gustschin
2011-10-11 15:18 ` [U-Boot] [PATCH 1/1] pci: move pcidelay code to new location just before PCI " Anatolij Gustschin
2011-10-12 6:58 ` Matthias Fuchs
2011-10-12 8:44 ` [U-Boot] [PATCH v2 " Anatolij Gustschin
2011-10-12 9:42 ` Stefan Roese
2011-10-13 12:50 ` Matthias Fuchs
2011-10-13 13:03 ` Stefan Roese [this message]
2011-10-13 13:08 ` Matthias Fuchs
2011-10-15 20:16 ` Wolfgang Denk
2011-05-27 14:08 ` [U-Boot] [PATCH 3/5] mpc5200: digsy_mtc: enable pci_scan_delay option Anatolij Gustschin
2011-05-27 15:28 ` Detlev Zundel
2011-10-13 15:19 ` [U-Boot] [PATCH] mpc5200: digsy_mtc: fix detection of Coral-PA Anatolij Gustschin
2011-10-14 8:19 ` Detlev Zundel
2011-10-15 20:19 ` Wolfgang Denk
2011-05-27 14:08 ` [U-Boot] [PATCH 4/5] mpc5200: digsy_mtc: add support for graphic extension board Anatolij Gustschin
2011-05-27 15:33 ` Detlev Zundel
2011-05-27 17:56 ` Anatolij Gustschin
2011-05-30 7:16 ` [U-Boot] [PATCH v2 " Anatolij Gustschin
2011-06-06 9:49 ` Detlev Zundel
2011-07-27 21:26 ` Wolfgang Denk
2011-05-27 14:08 ` [U-Boot] [PATCH 5/5] mpc5200: digsy_mtc: add support for writing 'appreg' value Anatolij Gustschin
2011-05-27 15:36 ` Detlev Zundel
2011-05-27 18:00 ` Anatolij Gustschin
2011-05-30 7:18 ` [U-Boot] [PATCH v2 " Anatolij Gustschin
2011-07-16 20:26 ` [U-Boot] [PATCH] digsy_mtc: move board into vendor dir and add vendor logo Anatolij Gustschin
2011-07-27 21:27 ` Wolfgang Denk
2011-07-27 21:26 ` [U-Boot] [PATCH v2 5/5] mpc5200: digsy_mtc: add support for writing 'appreg' value Wolfgang Denk
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=201110131503.43311.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