* [U-Boot-Users] pci.c in MPC8349ADS
@ 2005-11-15 15:22 David Updegraff
2005-11-15 16:15 ` Kumar Gala
2005-11-15 20:52 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: David Updegraff @ 2005-11-15 15:22 UTC (permalink / raw)
To: u-boot
Hi.
I wonder why PCI support was added to the MPC83xx in board/mpc8349ads as
a board-specific thing, instead of a cpu-architecture-general thing in
cpu/mpc83xx ?
Aside from the I2C setup of the IO-expander, it seems that the remainder
of PCI initialization is 83xx generic..
-dbu.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] pci.c in MPC8349ADS
2005-11-15 15:22 [U-Boot-Users] pci.c in MPC8349ADS David Updegraff
@ 2005-11-15 16:15 ` Kumar Gala
2005-11-15 20:52 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2005-11-15 16:15 UTC (permalink / raw)
To: u-boot
On Nov 15, 2005, at 9:22 AM, David Updegraff wrote:
> Hi.
>
> I wonder why PCI support was added to the MPC83xx in board/
> mpc8349ads as a board-specific thing, instead of a cpu-architecture-
> general thing in cpu/mpc83xx ?
>
> Aside from the I2C setup of the IO-expander, it seems that the
> remainder of PCI initialization is 83xx generic..
>
> -dbu.
Eventually it should be. However someone needs to get full support
working for PCI2 and such before we go down that path and looking at
what should be done in the board code and what should be done in cpu/
mpc83xx.
- kumar
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] pci.c in MPC8349ADS
2005-11-15 15:22 [U-Boot-Users] pci.c in MPC8349ADS David Updegraff
2005-11-15 16:15 ` Kumar Gala
@ 2005-11-15 20:52 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-11-15 20:52 UTC (permalink / raw)
To: u-boot
In message <4379FD30.9040105@cray.com> you wrote:
>
> I wonder why PCI support was added to the MPC83xx in board/mpc8349ads as
> a board-specific thing, instead of a cpu-architecture-general thing in
> cpu/mpc83xx ?
At the time, when we added PCI support for the TQM834x boards, it
looked as if it was board specific. When new 83xx boards get added
and it turns out to be more generic then the code should be moved to
cpu/mpc83xx; the question is how many #ifdef's will be needed - the
TQM834x will probably require some.
> Aside from the I2C setup of the IO-expander, it seems that the remainder
> of PCI initialization is 83xx generic..
Yes, in theory. When you have to deal with real hardware (and it's
buggy early incarnations) things may look different.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Life would be so much easier if we could just look at the source
code. -- Dave Olson
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-15 20:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 15:22 [U-Boot-Users] pci.c in MPC8349ADS David Updegraff
2005-11-15 16:15 ` Kumar Gala
2005-11-15 20:52 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox