u-boot/arch/powerpc/include/asm
Laurentiu TUDOR 8f9fe660fc powerpc/t4240: fix per pci endpoint liodn offsets
Update the code that builds the pci endpoint liodn
offset list so that it doesn't overlap with other
liodns and doesn't generate negative offsets like:

  fsl,liodn-offset-list = <0 0xffffffcd 0xffffffcf
                             0xffffffd1 0xffffffd3
                             0xffffffd5 0xffffffd7
                             0xffffffd9 0xffffffdb>;

The update consists in adding a parameter to the
function that builds the list to specify the base
liodn.
On PCI v2.4 use the old base = 256 and, on PCI 3.0
where some of the PCIE liodns are larger than 256,
use a base = 1024. The version check is based on
the PCI controller's version register.

Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: York Sun <yorksun@freescale.com>
2013-11-13 12:41:28 -08:00
..
arch-mpc83xx Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
4xx_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
4xx_pcie.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
5xx_immap.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
8xx_immap.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
apm821xx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
atomic.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
bitops.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
byteorder.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cache.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
config.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config_mpc85xx.h powerpc/t1040: Update defines to support T1040SoC personalities 2013-11-13 12:41:08 -08:00
config_mpc86xx.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cpm_85xx.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
cpm_8260.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
e300.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
errno.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_ddr_dimm_params.h mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it 2013-10-24 09:35:52 -07:00
fsl_ddr_sdram.h powerpc: Fix CamelCase warnings in DDR related code 2013-10-16 16:15:16 -07:00
fsl_dma.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_dtsec.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_enet.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_errata.h powerpc/mpc85xx: Add workaround for erratum A006379 2013-10-16 16:15:17 -07:00
fsl_fman.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_i2c.h fsl_i2c: add workaround for the erratum I2C A004447 2013-08-20 11:15:31 +02:00
fsl_ifc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_law.h powerpc/85xx: Add C29x SoC support 2013-08-09 12:41:42 -07:00
fsl_lbc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_liodn.h powerpc/srio: Update the SRIO LIODN registers and ID table macro 2013-08-09 12:41:37 -07:00
fsl_memac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_mpc83xx_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_pci.h PCIe:change the method to get the address of a requested capability in configuration space. 2013-10-16 16:15:17 -07:00
fsl_portals.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_secure_boot.h powerpc: add CONFIG_SECURE_BOOT condition into fsl_secure_boot.h 2013-10-16 16:13:10 -07:00
fsl_serdes.h fsl/mpc85xx: define common serdes_clock_to_string function 2013-10-24 09:36:18 -07:00
fsl_srio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_tgec.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
global_data.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
gpio.h mpc83xx: Add a GPIO driver for the MPC83XX family 2012-01-09 20:10:33 -06:00
immap_83xx.h powerpc/83xx: Define USB1 and USB2 base addr for MPC834x 2013-11-13 12:41:28 -08:00
immap_85xx.h powerpc/t4240: fix per pci endpoint liodn offsets 2013-11-13 12:41:28 -08:00
immap_86xx.h 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00
immap_512x.h powerpc/usb:Differentiate USB controller base address 2013-10-24 09:35:09 -07:00
immap_8260.h powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 2013-06-11 22:01:45 +02:00
immap_qe.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
interrupt.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
io.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
iopin_8xx.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
iopin_85xx.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin_8260.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
m8260_pci.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
mc146818rtc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mmu.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
mp.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xxx_spi.h mpc8308: support for Freescale MPC8308 cpu 2010-07-09 15:00:54 -05:00
mpc85xx_gpio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc512x.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8349_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci_io.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pnp.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
posix_types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc4xx-ebc.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc4xx-emac.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc4xx-gpio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ppc4xx-i2c.h Merge branch 'master' of git://git.denx.de/u-boot-i2c 2013-07-24 09:50:24 -04:00
ppc4xx-isram.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
ppc4xx-mal.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc4xx-sdram.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc4xx-uic.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc4xx.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc4xx_config.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ppc405.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc405ep.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc405ex.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc405ez.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc405gp.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc440ep_gr.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440epx_grx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440gp.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440gx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440sp.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440spe.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc460ex_gt.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc460sx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
processor.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
ptrace.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
residual.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sigcontext.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
signal.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
spl.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
status_led.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
string.h Add strcasecmp() and strncasecmp() 2012-12-11 13:17:34 -07:00
types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.h ppc4xx: Remove support for PPC405CR CPUs 2013-08-20 11:35:24 -04:00
unaligned.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
xilinx_irq.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00