aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_sf.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-11-07 07:39:48 -0500
committerTom Rini <trini@ti.com>2013-11-25 10:41:51 -0500
commit4b756b013ae0159d77d34981b57f8590f8dba2ee (patch)
treee60f23245c32e841a5f92b7d9ca7d29a6fc88159 /common/cmd_sf.c
parentc2e5e802ecb7ab668ce9911b210ed68c804b349f (diff)
downloadu-boot-4b756b013ae0159d77d34981b57f8590f8dba2ee.zip
u-boot-4b756b013ae0159d77d34981b57f8590f8dba2ee.tar.gz
u-boot-4b756b013ae0159d77d34981b57f8590f8dba2ee.tar.bz2
hash.c: Correct non-hash subcommand crc32 addr-save support
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 <trini@ti.com>
Diffstat (limited to 'common/cmd_sf.c')
0 files changed, 0 insertions, 0 deletions