powerpc/85xx: Refactor Qman/Portal support to be shared between SoCs
authorHaiying Wang <Haiying.Wang@freescale.com>
Thu, 20 Jan 2011 22:26:31 +0000 (22:26 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:41 +0000 (09:24 -0500)
commit24995d829aecc6abca0f1b41443ae0cd9b4fde5a
tree3154937972cf5d372c82fd6bbe665562a7e28927
parent67a719da2e5cfdfa461c5a35c1c5a6a2c5e82d73
powerpc/85xx: Refactor Qman/Portal support to be shared between SoCs

There are some differences between CoreNet (P2040, P3041, P5020, P4080)
and and non-CoreNet (P1017, P1023) based SoCs in what features exist and
the memory maps.

* Rename various immap defines to remove _CORENET_ if they are shared
* Added P1023/P1017 specific memory offsets
* Only setup LIODNs or LIODN related code on CORENET based SoCs
  (features doesn't exist on P1023/P1017)

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/Makefile
arch/powerpc/cpu/mpc85xx/portals.c
arch/powerpc/cpu/mpc85xx/speed.c
arch/powerpc/include/asm/fsl_liodn.h
arch/powerpc/include/asm/immap_85xx.h
include/configs/corenet_ds.h