]> git.sur5r.net Git - u-boot/commit
mpc85xx/portals: Add qman and bman ip_cfg field into portal info
authorHaiying Wang <Haiying.Wang@freescale.com>
Thu, 11 Oct 2012 07:13:38 +0000 (07:13 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 20:52:46 +0000 (15:52 -0500)
commitb0e8115741cbba252e64f3b4e81799de57248a26
tree3d49aff3f26638a63c1843683913bdb1a0eb6f55
parentee52b188ca2c631427d197056ab7b71b9e23bde7
mpc85xx/portals: Add qman and bman ip_cfg field into portal info

Because QMan3.0 and BMan2.1 used ip_cfg in ip_rev_2 register to differ the
total portal number, buffer pool number etc, we can use this info to limit
those resources in kernel driver.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/portals.c