u-boot-brain/arch/powerpc/include/asm
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
..
4xx_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
4xx_pcie.h ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
5xx_immap.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
8xx_immap.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
apm821xx.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
atomic.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
bitops.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
byteorder.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cache.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
config.h Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
cpm_85xx.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpm_8260.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02: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 powerpc/8xxx: Enable DDR3 RDIMM support 2010-07-26 13:16:10 -05:00
fsl_ddr_sdram.h mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
fsl_dma.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_enet.h powerpc/8xxx: Add fdt_fixup_phy_connection helper 2010-10-20 02:27:18 -05:00
fsl_fman.h powerpc/fsl_fman: Add initial fman immap structures 2010-07-26 08:07:47 -05:00
fsl_i2c.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_law.h powerpc/8xxx: Refactor SRIO initialization into common code 2011-01-14 01:32:21 -06:00
fsl_lbc.h mpc85xx: rename sdram_init() lbc_sdram_init() 2011-01-14 01:32:19 -06:00
fsl_liodn.h powerpc/85xx: Rename Security Engine Job Queue to Job Ring to match docs 2010-08-19 02:06:13 -05:00
fsl_mpc83xx_serdes.h ppc: Split MPC83xx SERDES code from MPC85xx/MPC86xx/QorIQ 2010-04-26 22:37:57 -05:00
fsl_pci.h fsl_pci: Update PCIe boot ouput 2011-01-14 01:32:21 -06:00
fsl_portals.h powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
fsl_serdes.h powerpc/p4080: Add support for initializing SERDES 2010-07-26 13:07:57 -05:00
global_data.h Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
immap_83xx.h 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
immap_85xx.h powerpc/p4080: Add new CPC register - HDBCR0 2010-10-07 09:49:47 -05:00
immap_86xx.h powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
immap_512x.h MPC5121: Add USB EHCI support 2010-10-18 22:33:32 +02:00
immap_8220.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
immap_8260.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
immap_qe.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
interrupt.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
io.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin_8xx.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02: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 Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mc146818rtc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mmu.h mpc85xx: Add print_tlbcam() function 2010-07-16 10:55:09 -05:00
mp.h powerpc/8xxx: Add is_core_disabled to remove disabled cores from dtb 2010-07-16 10:55:08 -05:00
mpc8xxx_spi.h mpc8308: support for Freescale MPC8308 cpu 2010-07-09 15:00:54 -05:00
mpc512x.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02: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_config.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc4xx-ebc.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx-emac.h ppc4xx: Big header cleanup, mostly PPC440 related 2010-09-23 09:02:05 +02:00
ppc4xx-gpio.h ppc4xx: Move gpio.h to ppc4xx-gpio.h since its ppc4xx specific 2010-09-23 09:02:05 +02:00
ppc4xx-i2c.h ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
ppc4xx-isram.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx-mal.h ppc4xx: Big header cleanup, mostly PPC440 related 2010-09-23 09:02:05 +02:00
ppc4xx-sdram.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx-uic.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx.h ppc4xx: Remove some testing hacks from ppc4xx.h 2010-10-04 11:20:11 +02:00
ppc405.h ppc4xx: Big header cleanup part 2, mostly PPC405 related 2010-09-23 09:02:05 +02:00
ppc405cr.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405ep.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405ex.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405ez.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405gp.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440.h ppc4xx: Big header cleanup part 2, mostly PPC405 related 2010-09-23 09:02:05 +02:00
ppc440ep_gr.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440epx_grx.h ppc4xx: Add defines for COM3 & COM4 (UART2 & UART3) on 440EPx/GRx 2010-10-04 11:19:43 +02:00
ppc440gp.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440gx.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440sp.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440spe.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc460ex_gt.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc460sx.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
processor.h powerpc/85xx: Fix wrong SVR value for MPC8567 and MPC8567E processors 2011-01-14 01:32:18 -06:00
ptrace.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
residual.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02: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
status_led.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
string.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.h powerpc: Cleanup BOOTFLAG_* references 2010-10-18 22:38:56 +02:00
unaligned.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
xilinx_irq.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00