diff options
author | Timur Tabi <timur@freescale.com> | 2008-03-03 09:58:52 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-03 22:10:11 +0100 |
commit | 491fb6dea9f52fdb9cb5996e8e978b9e9685179f (patch) | |
tree | 39018da2af34d26e6bc458b4ccc634f5b1f1302b /drivers | |
parent | 42ba58e0c302b339a3c2faa6006a013c6f186b7a (diff) | |
download | u-boot-imx-491fb6dea9f52fdb9cb5996e8e978b9e9685179f.zip u-boot-imx-491fb6dea9f52fdb9cb5996e8e978b9e9685179f.tar.gz u-boot-imx-491fb6dea9f52fdb9cb5996e8e978b9e9685179f.tar.bz2 |
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')
-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; } |