projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ba58e
)
fix QE firmware uploading limit
author
Timur Tabi
<timur@freescale.com>
Mon, 3 Mar 2008 15:58:52 +0000
(09:58 -0600)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 3 Mar 2008 21:10:11 +0000
(22:10 +0100)
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>
drivers/qe/qe.c
patch
|
blob
|
history
diff --git
a/drivers/qe/qe.c
b/drivers/qe/qe.c
index 63acfa3d15e5357ad27b011dd192ffe4f1dbcfed..7b6ecd753d2b76c4ffadb172386d80b346b0a84e 100644
(file)
--- a/
drivers/qe/qe.c
+++ b/
drivers/qe/qe.c
@@
-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;
}