ppc4xx: Add pci_pre_init() for 405 boards
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Sun, 24 Jun 2007 15:23:41 +0000 (17:23 +0200)
committerStefan Roese <sr@denx.de>
Mon, 25 Jun 2007 09:57:50 +0000 (11:57 +0200)
commit5a1c9ff0c44305b57cb4d8f9369bba90bcf0e1f8
treedd3a22e10311ad1615c903925af70515216a785c
parent3a1f5c81b0b9557817a789bece839905581c2205
ppc4xx: Add pci_pre_init() for 405 boards

This patch adds support for calling a plattform dependant
pci_pre_init() function for 405 boards. This can be used to
move the current pci_405gp_fixup_irq() function into the
board code.

This patch also makes the CFG_PCI_PRE_INIT define obsolete.
A default function with 'weak' attribute is used when
a board specific pci_pre_init() is not implemented.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
cpu/ppc4xx/405gp_pci.c