powerpc/qe: update risc allocation for QE
authorHaiying Wang <Haiying.Wang@freescale.com>
Fri, 1 May 2009 19:40:47 +0000 (15:40 -0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 19 May 2009 05:50:22 +0000 (00:50 -0500)
commit06c4435021f4856261edd01e2691071edeb8fa51
tree54e0a8be20b73d328df5aeae874e725ea7bbc80e
parentea5130dcb438840d64a168b67dd221e4d46246b8
powerpc/qe: update risc allocation for QE

Change the RISC allocation to macros instead of enum, add function to read
the number of risc engines from the new property "fsl,qe-num-riscs" under
the qe node in dts. Add new property "fsl,qe-num-riscs" description in
qe.txt

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Documentation/powerpc/dts-bindings/fsl/cpm_qe/qe.txt
arch/powerpc/include/asm/qe.h
arch/powerpc/sysdev/qe_lib/qe.c