public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] calling pci_init before relocation?
@ 2011-01-30 21:39 Michael Schwingen
  2011-01-30 22:07 ` Albert ARIBAUD
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Schwingen @ 2011-01-30 21:39 UTC (permalink / raw)
  To: u-boot

Hi,

ist it allowed to call pci_init before relocation?

The code looks like this is not supposed to happen. However, on ARM,
arm_pci_init (which calls pci_init in turn) is called from
init_sequence, which happens before relocation.

Am I overlooking some way in which this can actually work? Are there
boards using this?

If I move pci_init down into board_init_r, I can get PCI working on
IXP42x, but I am worried if this will cause problems on other boards.

cu
Michael

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-02-01  8:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-30 21:39 [U-Boot] calling pci_init before relocation? Michael Schwingen
2011-01-30 22:07 ` Albert ARIBAUD
2011-01-30 22:46   ` Michael Schwingen
2011-01-30 23:01     ` Albert ARIBAUD
2011-01-31  8:45       ` Heiko Schocher
2011-01-31 10:46         ` Wolfgang Denk
2011-02-01  7:35         ` Michael Schwingen
2011-02-01  8:04           ` Heiko Schocher
2011-01-31  9:45       ` Michael Schwingen
2011-01-31 10:42     ` Wolfgang Denk
2011-01-31 11:11       ` Michael Schwingen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox