]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc/85xx: Add support for FMan ethernet in Independent mode
authorKumar Gala <galak@kernel.crashing.org>
Wed, 13 Apr 2011 13:37:44 +0000 (08:37 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:05 +0000 (19:01 -0500)
commitc916d7c914665347f057bf1506c02c5ac57e3184
tree5bba2f7d0ade1a3533532ca52f1e4e267f522cb6
parent44d737111bed9b3b6a8c50fed05184e7a467b762
powerpc/85xx: Add support for FMan ethernet in Independent mode

The Frame Manager (FMan) on QorIQ SoCs with DPAA (datapath acceleration
architecture) is the ethernet contoller block.  Normally it is utilized
via Queue Manager (Qman) and Buffer Manager (Bman).  However for boot
usage the FMan supports a mode similar to QE or CPM ethernet collers
called Independent mode.

Additionally the FMan block supports multiple 1g and 10g interfaces as a
single entity in the system rather than each controller being managed
uniquely.  This means we have to initialize all of Fman regardless of
the number of interfaces we utilize.

Different SoCs support different combinations of the number of FMan as
well as the number of 1g & 10g interfaces support per Fman.

We add support for the following SoCs:
 * P1023 - 1 Fman, 2x1g
 * P4080 - 2 Fman, each Fman has 4x1g and 1x10g
 * P204x/P3041/P5020 - 1 Fman, 5x1g, 1x10g

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Signed-off-by: Lei Xu <B33228@freescale.com>
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Shaohui Xie <b21989@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
21 files changed:
Makefile
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc8xxx/cpu.c
arch/powerpc/include/asm/config.h
arch/powerpc/include/asm/fsl_dtsec.h [new file with mode: 0644]
arch/powerpc/include/asm/fsl_fman.h
arch/powerpc/include/asm/fsl_tgec.h [new file with mode: 0644]
arch/powerpc/include/asm/immap_85xx.h
drivers/net/Makefile
drivers/net/fm/Makefile [new file with mode: 0644]
drivers/net/fm/dtsec.c [new file with mode: 0644]
drivers/net/fm/eth.c [new file with mode: 0644]
drivers/net/fm/fm.c [new file with mode: 0644]
drivers/net/fm/fm.h [new file with mode: 0644]
drivers/net/fm/init.c [new file with mode: 0644]
drivers/net/fm/p1023.c [new file with mode: 0644]
drivers/net/fm/p4080.c [new file with mode: 0644]
drivers/net/fm/p5020.c [new file with mode: 0644]
drivers/net/fm/tgec.c [new file with mode: 0644]
drivers/net/fm/tgec_phy.c [new file with mode: 0644]
include/fm_eth.h [new file with mode: 0644]