u-boot-brain/arch
Gabe Black 82e73f0e3d x86: coreboot: Implement recursively scanning PCI busses
A hook is installed to configure PCI bus bridges as they encountered by u-boot.
The hook extracts the secondary bus number from the bridge's config space and
then recursively scans that bus.

On Coreboot, the PCI bus address space has identity mapping with the
physical address space, so declare it as such to ensure that the "pci_map_bar"
function used by some PCI drivers is behaving properly. This fixes the
EHCI PCI driver initialization on Stumpy.

This was tested as follows:

Ran the PCI command on Alex, saw devices on bus 0, the OXPCIe 952 on
bus 1, and empty busses 2 through 5. This matches the bridges
reported on bus 0 and the PCI configuration output from coreboot.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2012-11-28 11:40:05 -08:00
..
arm EXYNOS: mmc: support DesignWare Controller for Samsung-SoC 2012-11-27 17:26:47 -06:00
avr32 common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
blackfin common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
m68k ColdFire: Add MCF5441x CPU support 2012-10-24 22:27:46 +08:00
microblaze microblaze: Fix compilation failure because of missing libdts 2012-11-08 10:33:19 +01:00
mips Merge branch 'master' of git://git.denx.de/u-boot-mips 2012-11-27 20:34:51 -07:00
nds32 common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
nios2 nios2: remove asm/status_led.h 2012-11-10 19:45:58 +08:00
openrisc openrisc: Change bi_baudrate and global data baudrate to int 2012-10-19 15:25:45 -07:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-nand-flash 2012-11-26 14:53:33 -07:00
sandbox common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
sh common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
sparc common: Convert the U-Boot commands to LG-arrays 2012-10-22 08:29:42 -07:00
x86 x86: coreboot: Implement recursively scanning PCI busses 2012-11-28 11:40:05 -08:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00