mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
Fix inconsistency of VERIFY defines in cmd_mem
Introduced in change d20a40de9d
"Roll crc32 into hash infrastructure"
Use a consistent define to enable the verify feature in crc32 command.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
74d339bef9
commit
849337bb22
1 changed files with 3 additions and 3 deletions
|
@ -1303,7 +1303,7 @@ U_BOOT_CMD(
|
|||
|
||||
#ifdef CONFIG_CMD_CRC32
|
||||
|
||||
#ifndef CONFIG_CRC32_VERIFY
|
||||
#ifndef CONFIG_HASH_VERIFY
|
||||
|
||||
U_BOOT_CMD(
|
||||
crc32, 4, 1, do_mem_crc,
|
||||
|
@ -1311,7 +1311,7 @@ U_BOOT_CMD(
|
|||
"address count [addr]\n - compute CRC32 checksum [save at addr]"
|
||||
);
|
||||
|
||||
#else /* CONFIG_CRC32_VERIFY */
|
||||
#else /* CONFIG_HASH_VERIFY */
|
||||
|
||||
U_BOOT_CMD(
|
||||
crc32, 5, 1, do_mem_crc,
|
||||
|
@ -1320,7 +1320,7 @@ U_BOOT_CMD(
|
|||
"-v address count crc\n - verify crc of memory area"
|
||||
);
|
||||
|
||||
#endif /* CONFIG_CRC32_VERIFY */
|
||||
#endif /* CONFIG_HASH_VERIFY */
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue