summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-05 12:23:52 -0500
committerTom Rini <trini@konsulko.com>2015-05-10 09:59:37 -0400
commit849337bb22ca87355963236f784b7f3e57c0329a (patch)
tree3aaa339b4493b9741cfd35220c8b7112bfd3dc45
parent74d339bef94e879b2da6ef3c7aaa6e2b96c52b33 (diff)
Fix inconsistency of VERIFY defines in cmd_mem
Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75 "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>
-rw-r--r--common/cmd_mem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 5d8c9e6c061..b91adb29c95 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -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