u-boot/arch/powerpc/cpu
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
..
74xx_7xx 74xx_7xx/mpc86xx/ppmc7xx: Fix do_reset() declaration 2010-12-17 20:26:19 +01:00
mpc5xx PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00
mpc5xxx PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00
mpc8xx miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
mpc8xxx powerpc/8xxx: Refactor SRIO initialization into common code 2011-01-14 01:32:21 -06:00
mpc83xx PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00
mpc85xx powerpc/8xxx: Refactor SRIO initialization into common code 2011-01-14 01:32:21 -06:00
mpc86xx powerpc/86xx: Add SERDES support on MPC8641 & MPC8610 2011-01-14 01:32:18 -06:00
mpc512x PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00
mpc824x PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00
mpc8220 PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00
mpc8260 PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00
ppc4xx ppc4xx: Fix compilation breakage in miiphy.c 2011-01-11 09:56:28 +01:00