Patchwork [U-Boot] Tegra: enable verify support for the crc32 command

login
register
mail settings
Submitter Tom Warren
Date March 26, 2013, 5:52 p.m.
Message ID <1364320373-15107-1-git-send-email-twarren@nvidia.com>
Download mbox | patch
Permalink /patch/231501/
State Accepted
Delegated to: Tom Warren
Headers show

Comments

Tom Warren - March 26, 2013, 5:52 p.m.
Some 3rd-party flash tools use the -v (verify) option of crc32 command.

Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 include/configs/tegra-common.h | 2 ++
 1 file changed, 2 insertions(+)
Simon Glass - March 26, 2013, 5:54 p.m.
On Tue, Mar 26, 2013 at 10:52 AM, Tom Warren <twarren.nvidia@gmail.com> wrote:
> Some 3rd-party flash tools use the -v (verify) option of crc32 command.
>
> Signed-off-by: Tom Warren <twarren@nvidia.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
>  include/configs/tegra-common.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
> index 036ded0..30dc736 100644
> --- a/include/configs/tegra-common.h
> +++ b/include/configs/tegra-common.h
> @@ -168,7 +168,9 @@
>  #define CONFIG_SPL_GPIO_SUPPORT
>
>  #define CONFIG_SYS_GENERIC_BOARD
> +

Do you want this blank line?

>  /* Misc utility code */
>  #define CONFIG_BOUNCE_BUFFER
> +#define CONFIG_CRC32_VERIFY
>
>  #endif /* _TEGRA_COMMON_H_ */
> --
> 1.8.1.5
>

Regards,
Simon

Patch

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 036ded0..30dc736 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -168,7 +168,9 @@ 
 #define CONFIG_SPL_GPIO_SUPPORT
 
 #define CONFIG_SYS_GENERIC_BOARD
+
 /* Misc utility code */
 #define CONFIG_BOUNCE_BUFFER
+#define CONFIG_CRC32_VERIFY
 
 #endif /* _TEGRA_COMMON_H_ */