u-boot/arch/x86
Bin Meng 8f9052fd98 pci: Make pci apis usable before relocation
Introduce a gd->hose to save the pci hose in the early phase so that
apis in drivers/pci/pci.c can be used before relocation. Architecture
codes need assign a valid gd->hose in the early phase.

Some variables are declared as static so change them to be either
stack variable or global data member so that they can be used before
relocation, except the 'indent' used by CONFIG_PCI_SCAN_SHOW which
just affects some print format.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-01-12 17:03:41 -08:00
..
cpu pci: Make pci apis usable before relocation 2015-01-12 17:03:41 -08:00
dts x86: Clean up the board dts files 2015-01-12 17:03:40 -08:00
include/asm pci: Make pci apis usable before relocation 2015-01-12 17:03:41 -08:00
lib x86: Clean up the FSP support codes 2014-12-18 17:26:08 -07:00
config.mk x86: Remove REALMODE_BASE which is no longer used 2014-11-21 07:24:08 +01:00
Kconfig x86: Add queensbay and crownbay Kconfig files 2014-12-18 17:26:06 -07:00
Makefile Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00