diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-08-05 07:49:27 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-08-28 17:12:36 -0500 |
commit | 8295b94400449586505ffe34ec024feb3d2c8fe4 (patch) | |
tree | fd6782cc6f7d82084a3f31695e5016943bbced74 /include/pci.h | |
parent | cb151aa2cf5fbb1e412fc763a3a611758f066238 (diff) | |
download | u-boot-imx-8295b94400449586505ffe34ec024feb3d2c8fe4.zip u-boot-imx-8295b94400449586505ffe34ec024feb3d2c8fe4.tar.gz u-boot-imx-8295b94400449586505ffe34ec024feb3d2c8fe4.tar.bz2 |
pci/fsl_pci_init: Use PCIe capability to determine if controller is PCIe
Change the code to use the PCIe capabilities register to determine if we
are a PCIe controller or not. Additionally cleaned up some white space
and formatting in the file.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/pci.h')
-rw-r--r-- | include/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h index aaa4554..491f814 100644 --- a/include/pci.h +++ b/include/pci.h @@ -222,6 +222,7 @@ #define PCI_CAP_ID_SLOTID 0x04 /* Slot Identification */ #define PCI_CAP_ID_MSI 0x05 /* Message Signalled Interrupts */ #define PCI_CAP_ID_CHSWP 0x06 /* CompactPCI HotSwap */ +#define PCI_CAP_ID_EXP 0x10 /* PCI Express */ #define PCI_CAP_LIST_NEXT 1 /* Next capability in the list */ #define PCI_CAP_FLAGS 2 /* Capability defined flags (16 bits) */ #define PCI_CAP_SIZEOF 4 |