* [U-Boot] [PATCH] Fix CONFIG_CMD_SHA1SUM
@ 2011-01-04 7:47 Alexander Holler
2011-01-04 8:04 ` Alexander Holler
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Holler @ 2011-01-04 7:47 UTC (permalink / raw)
To: u-boot
Only CONFIG_CMD_SHA1SUM should have been used.
---
README | 2 +-
common/cmd_mem.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README b/README
index 68f5fb0..2e70b48 100644
--- a/README
+++ b/README
@@ -675,7 +675,7 @@ The following options need to be configured:
(requires CONFIG_CMD_I2C)
CONFIG_CMD_SETGETDCR Support for DCR Register access
(4xx only)
- CONFIG_CMD_SHA1 print sha1 memory digest
+ CONFIG_CMD_SHA1SUM print sha1 memory digest
(requires CONFIG_CMD_MEMORY)
CONFIG_CMD_SOURCE "source" command Support
CONFIG_CMD_SPI * SPI serial bus support
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index f7a442a..dae3d01 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -1184,7 +1184,7 @@ int do_md5sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
#endif
-#ifdef CONFIG_CMD_SHA1
+#ifdef CONFIG_CMD_SHA1SUM
int do_sha1sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
unsigned long addr, len;
@@ -1343,7 +1343,7 @@ U_BOOT_CMD(
"compute SHA1 message digest",
"address count"
);
-#endif /* CONFIG_CMD_SHA1 */
+#endif /* CONFIG_CMD_SHA1SUM */
#ifdef CONFIG_CMD_UNZIP
U_BOOT_CMD(
--
1.7.2.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] Fix CONFIG_CMD_SHA1SUM
2011-01-04 7:47 [U-Boot] [PATCH] Fix CONFIG_CMD_SHA1SUM Alexander Holler
@ 2011-01-04 8:04 ` Alexander Holler
2011-01-08 8:04 ` Albert ARIBAUD
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Holler @ 2011-01-04 8:04 UTC (permalink / raw)
To: u-boot
Am 04.01.2011 08:47, schrieb Alexander Holler:
> Only CONFIG_CMD_SHA1SUM should have been used.
> ---
> README | 2 +-
> common/cmd_mem.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
Sorry, have forgotten that
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Regards,
Alexander
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] Fix CONFIG_CMD_SHA1SUM
2011-01-04 8:04 ` Alexander Holler
@ 2011-01-08 8:04 ` Albert ARIBAUD
0 siblings, 0 replies; 3+ messages in thread
From: Albert ARIBAUD @ 2011-01-08 8:04 UTC (permalink / raw)
To: u-boot
Le 04/01/2011 09:04, Alexander Holler a ?crit :
> Am 04.01.2011 08:47, schrieb Alexander Holler:
>
>> Only CONFIG_CMD_SHA1SUM should have been used.
>> ---
>> README | 2 +-
>> common/cmd_mem.c | 4 ++--
>> 2 files changed, 3 insertions(+), 3 deletions(-)
>>
>
> Sorry, have forgotten that
>
> Signed-off-by: Alexander Holler<holler@ahsoftware.de>
>
> Regards,
>
> Alexander
Hi Alexander,
Maybe a clearer patch subject, such as "Replace CONFIG_CMD_SHA1 with
CONFIG_CMD_SHA1SUM"? I needed to read the actual changes to see
CONFIG_CMD_SHA1 mentioned.
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-08 8:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04 7:47 [U-Boot] [PATCH] Fix CONFIG_CMD_SHA1SUM Alexander Holler
2011-01-04 8:04 ` Alexander Holler
2011-01-08 8:04 ` Albert ARIBAUD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox