diff options
author | Timur Tabi <timur@freescale.com> | 2008-03-03 15:58:52 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-03 21:10:11 (GMT) |
commit | 491fb6dea9f52fdb9cb5996e8e978b9e9685179f (patch) | |
tree | 39018da2af34d26e6bc458b4ccc634f5b1f1302b /drivers/qe/qe.c | |
parent | 42ba58e0c302b339a3c2faa6006a013c6f186b7a (diff) | |
download | u-boot-491fb6dea9f52fdb9cb5996e8e978b9e9685179f.tar.xz |
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>
Diffstat (limited to 'drivers/qe/qe.c')
-rw-r--r-- | drivers/qe/qe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 63acfa3..7b6ecd7 100644 --- 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; } |