From: Tom Rini Date: Mon, 25 Nov 2013 16:56:34 -0500 Subject: [U-Boot] hash.c: Correct non-hash subcommand crc32 addr-save support In-Reply-To: <1383827988-8512-1-git-send-email-trini@ti.com> References: <1383827988-8512-1-git-send-email-trini@ti.com> Message-ID: <20131125215634.GC420@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 07, 2013 at 07:39:48AM -0500, Tom Rini wrote: > In the case of not having CONFIG_CMD_HASH but having CONFIG_CMD_CRC32 > enabled (and not CONFIG_CRC32_VERIFY), we end up in this part of the > code path on hash_command(). However, we will only have exactly 3 args > here, and 3 > 3 is false, and we will not try and store the hash at the > address given as arg #3. The next problem however is that we've been > moving argv around so the third value is now in argv[0] not argv[3]. > > Confirmed on AM335x Beaglebone White. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: