From: "Marek Behún" <marek.behun@nic.cz>
To: Tony Dinh <mibodhi@gmail.com>
Cc: "Pali Rohár" <pali@kernel.org>, "Stefan Roese" <sr@denx.de>,
"Tom Rini" <trini@konsulko.com>,
"U-Boot Mailing List" <u-boot@lists.denx.de>
Subject: Re: Testing pci_mvebu.c with Kirkwood SoCs
Date: Tue, 9 Nov 2021 00:04:29 +0100 [thread overview]
Message-ID: <20211109000429.56a87ff6@thinkpad> (raw)
In-Reply-To: <CAJaLiFxrGWK061r7REF5xOC8MF8KPLg3LsP3BSKounDJXVMgaQ@mail.gmail.com>
On Mon, 8 Nov 2021 14:48:03 -0800
Tony Dinh <mibodhi@gmail.com> wrote:
> > So to avoid calling 'pci enum' manually, you need to put pci_init();
> > function call into your board board_early_init_r() function.
>
> Thanks! will do that.
Don't do that.
Instead enable CONFIG_PCI_INIT_R and CONFIG_SYS_EARLY_PCI_INIT, and the
code in common/board_r.c will do it itself.
Look at:
https://source.denx.de/u-boot/u-boot/-/blob/f8ed9059001d803b0eae4b49178789aa0e29edec/common/board_r.c#L675
Marek
next prev parent reply other threads:[~2021-11-08 23:04 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 6:27 kwboot: Testing latest kwboot with Kirkwood SoC boards Tony Dinh
2021-11-05 8:38 ` Pali Rohár
2021-11-05 10:19 ` Pali Rohár
2021-11-05 21:25 ` Tony Dinh
2021-11-05 21:38 ` Pali Rohár
2021-11-05 22:07 ` Tony Dinh
2021-11-05 22:15 ` Pali Rohár
2021-11-05 23:36 ` Tony Dinh
2021-11-06 0:09 ` Pali Rohár
2021-11-06 3:50 ` Tony Dinh
2021-11-06 10:57 ` Pali Rohár
2021-11-06 23:26 ` Tony Dinh
2021-11-07 20:56 ` Tony Dinh
2021-11-07 23:45 ` Testing pci_mvebu.c with Kirkwood SoCs Pali Rohár
2021-11-08 0:58 ` Tony Dinh
2021-11-08 2:08 ` Tony Dinh
2021-11-08 11:11 ` Pali Rohár
2021-11-08 20:54 ` Tony Dinh
2021-11-08 22:02 ` Pali Rohár
2021-11-08 22:48 ` Tony Dinh
2021-11-08 23:04 ` Marek Behún [this message]
2021-11-09 6:34 ` Tony Dinh
2021-11-09 15:08 ` Pali Rohár
2021-11-09 22:51 ` Tony Dinh
2021-11-09 23:05 ` Pali Rohár
2021-11-10 3:17 ` Tony Dinh
2021-11-11 0:04 ` Tony Dinh
2021-11-11 21:10 ` Pali Rohár
2021-11-12 14:36 ` Stefan Roese
2021-11-12 15:06 ` Pali Rohár
2021-11-12 21:46 ` Tony Dinh
2021-11-12 22:35 ` Tony Dinh
2021-11-12 22:42 ` Pali Rohár
2021-11-12 23:24 ` Tony Dinh
2021-11-16 22:26 ` Tony Dinh
2021-11-16 22:37 ` Pali Rohár
2021-11-16 23:02 ` Tony Dinh
2021-12-11 15:39 ` Pali Rohár
2021-12-11 21:24 ` Tony Dinh
2021-12-14 14:33 ` Pali Rohár
2021-12-14 22:36 ` Tony Dinh
2021-12-14 22:40 ` Pali Rohár
2021-11-09 15:12 ` Pali Rohár
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=20211109000429.56a87ff6@thinkpad \
--to=marek.behun@nic.cz \
--cc=mibodhi@gmail.com \
--cc=pali@kernel.org \
--cc=sr@denx.de \
--cc=trini@konsulko.com \
--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.