u-boot-brain/drivers
Zhao Qiang 287df01e6a PCIe:change the method to get the address of a requested capability in configuration space.
Previously, the address of a requested capability is define like that
	"#define PCI_DCR	0x78"
But, the addresses of capabilities is different with regard to PCIe revs.
So this method is not flexible.

Now a function to get the address of a requested capability is added and used.
It can get the address dynamically by capability ID.
The step of this function:
	1. Read Status register in PCIe configuration space to confirm that
	   Capabilities List is valid.
	2. Find the address of Capabilities Pointer Register.
	3. Find the address of requested capability from the first capability.

Signed-off-by: Zhao Qiang <B45475@freescale.com>
2013-10-16 16:15:17 -07:00
..
bios_emulator biosemu: include <asm/io.h> header 2013-04-02 16:23:35 -04:00
block Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
bootcount Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
crypto Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
dfu dfu: ram support 2013-09-24 17:51:35 +02:00
dma dma: apbh: Add special circular mode for LCD 2013-08-09 21:48:34 +02:00
fpga Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
gpio Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master' 2013-09-04 11:50:25 +02:00
hwmon Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
i2c drivers: s3c44b0_i2c: delete an unused driver 2013-09-19 09:51:52 +02:00
input Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
misc Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
mmc Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-10-02 11:45:22 -04:00
mtd sf: probe: Add missing Atmel at25df321 flash 2013-10-16 00:14:03 +05:30
net powerpc/t1040qds: Add T1040QDS board 2013-10-16 16:15:16 -07:00
pci PCIe:change the method to get the address of a requested capability in configuration space. 2013-10-16 16:15:17 -07:00
pcmcia Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
power Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-10-14 11:20:32 -04:00
qe Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
rtc Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
serial drivers: serial_s3c44b0: delete an unused driver 2013-09-19 09:52:04 +02:00
sound Sound: MAX98095: Support I2S0 channel 2013-09-24 09:10:33 -04:00
spi spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers 2013-10-16 00:14:30 +05:30
tpm Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
twserial Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb Coding Style cleanup: drop some excessive empty lines 2013-10-14 16:06:54 -04:00
video Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
watchdog microblaze: Fix watchdog initialization 2013-10-16 09:24:38 -04:00