
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