mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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: Timur Tabi <timur@freescale.com>
This commit is contained in:
parent
42ba58e0c3
commit
491fb6dea9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue