提交 98eaa098 编写于 作者: A Anton Vorontsov 提交者: Kumar Gala

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: NAnton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: NTimur Tabi <timur@freescale.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 0526484a
...@@ -349,7 +349,7 @@ static int qe_sdma_init(void) ...@@ -349,7 +349,7 @@ static int qe_sdma_init(void)
} }
/* The maximum number of RISCs we support */ /* 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() */ /* Firmware information stored here for qe_get_firmware_info() */
static struct qe_firmware_info qe_firmware_info; static struct qe_firmware_info qe_firmware_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册