]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: pci: Allow configuration before relocation
authorSimon Glass <sjg@chromium.org>
Thu, 13 Nov 2014 05:42:14 +0000 (22:42 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:34:12 +0000 (07:34 +0100)
commit6fb3b72e8745073465b4a5875b7750cc43cbd1af
treee4a798cc0d1a9741752d0b4adde393d1d4d1e936
parent6e5b12b6144acd83dcfb4a79ea0beff787f3f545
x86: pci: Allow configuration before relocation

Add simple PCI access routines for x86 which permit use before relocation.
The normal PCI stack is still used, but for pre-relocation use there can
only ever be a single hose. After relocation, fall back to the normal
access, although even then on x86 machines there is normally only a single
PCI bus.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/pci.c
arch/x86/include/asm/pci.h