powerpc/qe: Increase MAX_QE_RISC to 4
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 27 Aug 2009 17:30:11 +0000 (21:30 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 12 Nov 2009 03:43:09 +0000 (21:43 -0600)
MPC8569 CPUs have four QE RISCs, so we need to increase MAX_QE_RISC
constant, otherwise qe_upload_firmware() fails at sanity checking.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/qe_lib/qe.c

index 464271bea6c95852e9640d7c6c573269259d2333..fff2701b90dfaf6469139fb1a44649720ce6a405 100644 (file)
@@ -349,7 +349,7 @@ static int qe_sdma_init(void)
 }
 
 /* The maximum number of RISCs we support */
-#define MAX_QE_RISC     2
+#define MAX_QE_RISC     4
 
 /* Firmware information stored here for qe_get_firmware_info() */
 static struct qe_firmware_info qe_firmware_info;