[U-Boot-Users] pci.c in MPC8349ADS
Wolfgang Denk
wd at denx.de
Tue Nov 15 21:52:20 CET 2005
In message <4379FD30.9040105 at 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
More information about the U-Boot
mailing list