x86: Support use of PCI before relocation
authorSimon Glass <sjg@chromium.org>
Thu, 13 Nov 2014 05:42:12 +0000 (22:42 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:34:12 +0000 (07:34 +0100)
commit7430f1086429fa93e80c3951baac90e1c578898a
tree2bf3d1f5cdf7de4b77166eb8d4455bc8c4ebd9ee
parentd188b18f65417a0a6698c43926e3c66b134195b8
x86: Support use of PCI before relocation

Add support for using PCI before SDRAM is available, using early malloc()
and global_data.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/pci.c
arch/x86/include/asm/global_data.h
arch/x86/include/asm/pci.h