u-boot-brain/arch/powerpc/cpu/mpc85xx
Kumar Gala a09b9b68d4 powerpc/8xxx: Refactor SRIO initialization into common code
Moved the SRIO init out of corenet_ds and into common code for
8xxx/QorIQ processors that have SRIO.  We mimic what we do with PCIe
controllers for SRIO.

We utilize the fact that SRIO is over serdes to determine if its
configured or not and thus can setup the LAWs needed for it dynamically.

We additionally update the device tree (to remove the SRIO nodes) if the
board doesn't have SRIO enabled.

Introduced the following standard defines for board config.h:

CONFIG_SYS_SRIO - Chip has SRIO or not
CONFIG_SRIO1 - Board has SRIO 1 port available
CONFIG_SRIO2 - Board has SRIO 2 port available

(where 'n' is the port #)
CONFIG_SYS_SRIOn_MEM_VIRT - virtual address in u-boot
CONFIG_SYS_SRIOn_MEM_PHYS - physical address (for law setup)
CONFIG_SYS_SRIOn_MEM_SIZE - size of window (for law setup)

[ These mimic what we have for PCI and PCIe controllers ]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Wolfgang Denk <wd@denx.de>
2011-01-14 01:32:21 -06:00
..
cmd_errata.c 85xx boards: Rename CONFIG_DDR_DLL to CONFIG_SYS_FSL_ERRATUM_DDR_MSYNC_IN 2011-01-14 01:32:19 -06:00
commproc.c POST cleanup. 2010-09-21 21:39:31 +02:00
config.mk POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections 2010-11-27 23:35:08 +01:00
cpu_init_early.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu_init_nand.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
cpu_init.c powerpc/8xxx: Refactor SRIO initialization into common code 2011-01-14 01:32:21 -06:00
cpu.c 85xx boards: Rename CONFIG_DDR_DLL to CONFIG_SYS_FSL_ERRATUM_DDR_MSYNC_IN 2011-01-14 01:32:19 -06:00
ddr-gen1.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ddr-gen2.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ddr-gen3.c powerpc/8xxx: Enabled address hashing for 85xx 2010-07-26 13:16:09 -05:00
ether_fcc.c net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
fdt.c powerpc/8xxx: Refactor SRIO initialization into common code 2011-01-14 01:32:21 -06:00
fixed_ivor.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_corenet_serdes.c powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
fsl_corenet_serdes.h powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
interrupts.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
liodn.c powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
Makefile powerpc/85xx: Add is_serdes_configured() support for P1021 SERDES 2011-01-14 01:32:18 -06:00
mp.c 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -05:00
mp.h 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -05:00
mpc8536_serdes.c powerpc/85xx: Rework MPC8536 SERDES is_serdes_configured support 2010-07-21 00:40:16 -05:00
mpc8544_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8544 SERDES 2011-01-14 01:32:18 -06:00
mpc8548_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8548 SERDES 2011-01-14 01:32:18 -06:00
mpc8568_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8568 SERDES 2011-01-14 01:32:18 -06:00
mpc8569_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8569 SERDES 2011-01-14 01:32:18 -06:00
mpc8572_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8572 SERDES 2011-01-14 01:32:18 -06:00
p1021_serdes.c powerpc/85xx: Add is_serdes_configured() support for P1021 SERDES 2011-01-14 01:32:18 -06:00
p1022_serdes.c powerpc/85xx: Rework P1022 SERDES is_serdes_configured support 2010-07-21 00:40:20 -05:00
p2020_serdes.c powerpc/85xx: Add is_serdes_configured() support for P2020 SERDES 2011-01-14 01:32:18 -06:00
p4080_ids.c powerpc/85xx: fix rev.2 job queue LIODN error storm 2010-10-07 09:49:47 -05:00
p4080_serdes.c powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
pci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
portals.c powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
qe_io.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
release.S Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
resetvec.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_scc.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
speed.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
start.S powerpc/85xx: Fix bug in dcache_disable 2011-01-14 01:32:19 -06:00
tlb.c mpc85xx/tlb.c: Allow platforms to specify wimge bits 2011-01-14 01:32:19 -06:00
traps.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
u-boot-nand_spl.lds powerpc/85xx: Fix lds for nand build 2010-11-11 00:34:59 -06:00
u-boot-nand.lds powerpc/85xx: Fix lds for nand build 2010-11-11 00:34:59 -06:00
u-boot.lds PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00