]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:10 +0000 (12:59 +0200)
commitb6e9bb0ab088ff93fab78798d5202a9425ae9c32
tree63971937f340af5136d6464a370c521098eaf751
parent5b0d4a88b0f8223acc3dac76a0023181e9af0682
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