[PATCH 2/6] powerpc/qe: update risc allocation for QE
Kumar Gala
galak at kernel.crashing.org
Thu Apr 30 21:48:11 EST 2009
On Apr 29, 2009, at 1:14 PM, Haiying Wang wrote:
> Change the RISC allocation to macros instead of enum, add function
> to read the
> number of risc engines from the new property "num-riscs" under qe
> node in dts.
> Add new property "num-riscs" description in qe.txt
>
> Signed-off-by: Haiying Wang <Haiying.Wang at freescale.com>
> ---
> .../powerpc/dts-bindings/fsl/cpm_qe/qe.txt | 1 +
> arch/powerpc/include/asm/qe.h | 18 ++++++++----
> arch/powerpc/sysdev/qe_lib/qe.c | 28 +++++++++++
> +++++++++
> 3 files changed, 41 insertions(+), 6 deletions(-)
I'm wondering if these should be fsl,num-riscs or fsl,qe-num-riscs
since its a new property. Ditto for num-snums.
Also, shouldn't both of these be in the Required section of the binding.
- k
More information about the Linuxppc-dev
mailing list