Patchwork [U-Boot,3/3] tegra: enable CONFIG_CMD_PARTUUID

login
register
mail settings
Submitter Stephen Warren
Date Aug. 16, 2012, 11:15 p.m.
Message ID <1345158942-31512-3-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/178121/
State Superseded
Delegated to: Tom Warren
Headers show

Comments

Stephen Warren - Aug. 16, 2012, 11:15 p.m.
From: Stephen Warren <swarren@nvidia.com>

This is extremely likely to be used from the boot.scr that Tegra's default
bootcmd locates and executes.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 include/configs/tegra20-common-post.h |    5 +++++
 include/configs/tegra20-common.h      |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
Simon Glass - Oct. 2, 2012, 6:39 a.m.
On Thu, Aug 16, 2012 at 4:15 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> This is extremely likely to be used from the boot.scr that Tegra's default
> bootcmd locates and executes.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

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

> ---
>  include/configs/tegra20-common-post.h |    5 +++++
>  include/configs/tegra20-common.h      |    1 +
>  2 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/tegra20-common-post.h b/include/configs/tegra20-common-post.h
> index 42f270f..b7bbc0c 100644
> --- a/include/configs/tegra20-common-post.h
> +++ b/include/configs/tegra20-common-post.h
> @@ -209,6 +209,11 @@
>  #undef CONFIG_CMD_USB
>  #endif
>
> +/* remove partuuid command support */
> +#ifdef CONFIG_CMD_PARTUUID
> +#undef CONFIG_CMD_PARTUUID
> +#endif
> +
>  #endif /* CONFIG_SPL_BUILD */
>
>  #endif /* __TEGRA20_COMMON_POST_H */
> diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
> index c9e8b6b..c76eea4 100644
> --- a/include/configs/tegra20-common.h
> +++ b/include/configs/tegra20-common.h
> @@ -113,6 +113,7 @@
>
>  /* include default commands */
>  #include <config_cmd_default.h>
> +#define CONFIG_CMD_PARTUUID
>
>  /* remove unused commands */
>  #undef CONFIG_CMD_FLASH                /* flinfo, erase, protect */
> --
> 1.7.0.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Patch

diff --git a/include/configs/tegra20-common-post.h b/include/configs/tegra20-common-post.h
index 42f270f..b7bbc0c 100644
--- a/include/configs/tegra20-common-post.h
+++ b/include/configs/tegra20-common-post.h
@@ -209,6 +209,11 @@ 
 #undef CONFIG_CMD_USB
 #endif
 
+/* remove partuuid command support */
+#ifdef CONFIG_CMD_PARTUUID
+#undef CONFIG_CMD_PARTUUID
+#endif
+
 #endif /* CONFIG_SPL_BUILD */
 
 #endif /* __TEGRA20_COMMON_POST_H */
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
index c9e8b6b..c76eea4 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs/tegra20-common.h
@@ -113,6 +113,7 @@ 
 
 /* include default commands */
 #include <config_cmd_default.h>
+#define CONFIG_CMD_PARTUUID
 
 /* remove unused commands */
 #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect */