Skip to content
Snippets Groups Projects
Commit 491fb6de authored by Timur Tabi's avatar Timur Tabi Committed by Wolfgang Denk
Browse files

fix QE firmware uploading limit


Fix a typo in qe_upload_firmware() that prevented uploading firmware on
systems with more than one RISC core.

Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
parent 42ba58e0
No related branches found
No related tags found
No related merge requests found
......@@ -334,7 +334,7 @@ int qe_upload_firmware(const struct qe_firmware *firmware)
}
/* Validate some of the fields */
if ((firmware->count < 1) || (firmware->count >= MAX_QE_RISC)) {
if ((firmware->count < 1) || (firmware->count > MAX_QE_RISC)) {
printf("Invalid data\n");
return -EINVAL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment