u-boot/arch/x86/include/asm
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
..
arch-coreboot x86: ich6-gpio: Move setup_pch_gpios() to board support codes 2014-12-13 22:32:04 -07:00
arch-ivybridge x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
arch-queensbay x86: Clean up the FSP support codes 2014-12-18 17:26:08 -07:00
video x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
acpi.h x86: Add a simple header file for ACPI 2014-11-25 06:34:00 -07:00
bitops.h x86: Add ilog2 to bitops 2012-11-28 11:40:03 -08:00
bootm.h x86: Move kernel boot function to arch/x86/lib/bootm.c 2014-10-28 20:43:58 -06:00
bootparam.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
byteorder.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
cache.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
control_regs.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cpu.h x86: Replace fill_processor_name() with cpu_get_name() 2014-11-21 07:24:12 +01:00
e820.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
errno.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
global_data.h pci: Make pci apis usable before relocation 2015-01-12 17:03:41 -08:00
gpio.h x86: ich6-gpio: Add Intel Tunnel Creek GPIO support 2014-12-18 17:26:06 -07:00
i8254.h x86: Add quick TSC calibration via PIT 2014-11-21 07:24:10 +01:00
i8259.h x86: Refactor interrupt_init() 2014-11-25 06:34:02 -07:00
ibmpc.h x86: Add basic support to queensbay platform and crownbay board 2014-12-18 17:26:06 -07:00
init_helpers.h x86: Remove unnecessary find_fdt(), prepare_fdt() functions 2014-11-21 07:24:12 +01:00
interrupt.h x86: Set up edge triggering on interrupt 9 2014-11-25 06:34:00 -07:00
io.h Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
ioapic.h x86: Add ioapic.h header 2014-11-25 06:33:59 -07:00
ioctl.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
ist.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lapic_def.h x86: ivybridge: Add LAPIC support 2014-11-21 07:34:15 +01:00
lapic.h x86: Add LAPIC setup code 2014-11-25 06:34:11 -07:00
linkage.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
msr-index.h x86: Add init for model 206AX CPU 2014-11-25 06:34:14 -07:00
msr.h x86: Drop some msr functions that we don't support 2014-11-25 06:34:14 -07:00
mtrr.h x86: chromebook_link: Implement CAR support (cache as RAM) 2014-11-21 07:34:11 +01:00
pci.h pci: Make pci apis usable before relocation 2015-01-12 17:03:41 -08:00
pnp_def.h x86: Add a simple superio driver for SMSC LPC47M 2014-12-13 22:32:05 -07:00
posix_types.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
post.h x86: Add post failure codes for bist and car 2014-12-13 22:32:05 -07:00
processor-flags.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
processor.h x86: Add GDT descriptors for option ROMs 2014-11-25 06:34:14 -07:00
ptrace.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
relocate.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
speedstep.h x86: Add Intel speedstep and turbo mode code 2014-11-25 06:34:02 -07:00
string.h x86: Import glibc memcpy implementation 2012-01-02 03:58:46 +11:00
turbo.h x86: Add Intel speedstep and turbo mode code 2014-11-25 06:34:02 -07:00
types.h Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
u-boot-x86.h x86: Remove cpu_init_r() for x86 2014-11-25 06:34:02 -07:00
u-boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
unaligned.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
zimage.h x86: Move kernel boot function to arch/x86/lib/bootm.c 2014-10-28 20:43:58 -06:00