Skip to contentSkip to conversation

fix QE firmware uploading limit

PATCH New Timur Tabi 2 participants 2 messages Mar 3, 2008

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 fix QE firmware uploading limit

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

---

This patch is for 1.3.2. Andy, I know this isn't an 85xx-specific patch, but I was hoping you'd take it for me anyway.

 drivers/qe/qe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/qe/qe.c +1 -1
index 63acfa3..7b6ecd7 100644
@@ -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;
 	}
Signature · 1 line
1.5.4
#1 lore raw

PATCH 1/1 fix QE firmware uploading limit

Quoted 4 lines · In message <[email protected]> you wrote:

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

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Men don't talk peace unless they're ready to back it up with war.
	-- Col. Green, "The Savage Curtain", stardate 5906.4