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>
This commit is contained in:
Anton Vorontsov 2009-08-27 21:30:11 +04:00 committed by Kumar Gala
parent 0526484aa3
commit 98eaa0987a

View 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;