]> git.sur5r.net Git - u-boot/commit
fsl_pci_init_port end-point initialization is broken
authorEd Swarthout <Ed.Swarthout@freescale.com>
Mon, 2 Nov 2009 15:05:49 +0000 (09:05 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 4 Nov 2009 15:16:30 +0000 (09:16 -0600)
commit715d8f7608f77c93f1807a032644893fd5b6d08b
tree753315d236cd213c5b4805988539dfb121dc5020
parent01471d538fb163f472a769f21267d7676c91267c
fsl_pci_init_port end-point initialization is broken

commit 70ed869e broke fsl pcie end-point initialization.
Returning 0 is not correct.  The function must return the first free
bus number for the next controller.

fsl_pci_init() must still be called and a bus allocated even if the
controller is an end-point.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Vivek Mahajan <vivek.mahajan@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/pci/fsl_pci_init.c
include/asm-ppc/fsl_pci.h