x86: Define macros for pci configuration space access
authorBin Meng <bmeng.cn@gmail.com>
Mon, 2 Feb 2015 14:35:25 +0000 (22:35 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 19:07:40 +0000 (12:07 -0700)
commit3c8ae536ec26ffc7715e38876b43f88286a98fd8
tree869c4c7a517a439953bb5fbb14601c8c5055f1a1
parentfaa832329932c4559a8d03d4212881b6146da5df
x86: Define macros for pci configuration space access

Move PCI_REG_ADDR and PCI_REG_DATA from arch/x86/lib/pci_type1.c to
arch/x86/include/asm/pci.h, also define PCI_CFG_EN so that these
macros can be used for pci configuration space access.

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