aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-08-27 13:30:11 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-11-11 22:43:09 -0500
commit98eaa0987afdcab0929dc205edb5c492cf66a370 (patch)
treee71361f8fed34c276e7691081974a741ef8d4acc
parent0526484aa345adbf790d1201a6f5d09be0a648a3 (diff)
powerpc/qe: Increase MAX_QE_RISC to 4
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>
-rw-r--r--arch/powerpc/sysdev/qe_lib/qe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c
index 464271bea6c9..fff2701b90df 100644
--- a/arch/powerpc/sysdev/qe_lib/qe.c
+++ b/arch/powerpc/sysdev/qe_lib/qe.c
@@ -349,7 +349,7 @@ static int qe_sdma_init(void)
349} 349}
350 350
351/* The maximum number of RISCs we support */ 351/* The maximum number of RISCs we support */
352#define MAX_QE_RISC 2 352#define MAX_QE_RISC 4
353 353
354/* Firmware information stored here for qe_get_firmware_info() */ 354/* Firmware information stored here for qe_get_firmware_info() */
355static struct qe_firmware_info qe_firmware_info; 355static struct qe_firmware_info qe_firmware_info;