[U-Boot] [PATCH] tegra: enable CONFIG_CMD_PART

Tom Warren TWarren at nvidia.com
Thu Sep 27 18:39:09 CEST 2012


Stephen,

> -----Original Message-----
> From: Stephen Warren [mailto:swarren at wwwdotorg.org]
> Sent: Tuesday, September 25, 2012 4:32 PM
> To: Tom Warren
> Cc: u-boot at lists.denx.de; Stephen Warren
> Subject: [PATCH] tegra: enable CONFIG_CMD_PART
> 
> From: Stephen Warren <swarren at 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 at nvidia.com>
> ---
> Note: This enables a new feature that's in u-boot/master, so won't have any
> effect until u-boot-tegra/* is rebased onto it. Still, we may as well queue
> the patch up ASAP.
> 
>  include/configs/tegra-common-post.h |    9 +++++++++
>  include/configs/tegra20-common.h    |    2 ++
>  2 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-
> common-post.h
> index 168b64b..dda46c6 100644
> --- a/include/configs/tegra-common-post.h
> +++ b/include/configs/tegra-common-post.h
> @@ -209,6 +209,15 @@
>  #undef CONFIG_CMD_USB
>  #endif
> 
> +/* remove part command support */
> +#ifdef CONFIG_PARTITION_UUIDS
> +#undef CONFIG_PARTITION_UUIDS
> +#endif
> +
> +#ifdef CONFIG_CMD_PART
> +#undef CONFIG_CMD_PART
> +#endif
> +
>  #endif /* CONFIG_SPL_BUILD */
> 
>  #endif /* __TEGRA_COMMON_POST_H */
> diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-
> common.h
> index 098cdb4..1492f2a 100644
> --- a/include/configs/tegra20-common.h
> +++ b/include/configs/tegra20-common.h
> @@ -113,6 +113,8 @@
> 
>  /* include default commands */
>  #include <config_cmd_default.h>
> +#define CONFIG_PARTITION_UUIDS
> +#define CONFIG_CMD_PART
> 
>  /* remove unused commands */
>  #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect */
> --
> 1.7.0.4

Applied to u-boot-tegra/next and pushed to denx.de.

Thanks,

Tom
-- 
nvpublic



More information about the U-Boot mailing list