From patchwork Tue Sep 25 23:32:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot] tegra: enable CONFIG_CMD_PART Date: Tue, 25 Sep 2012 13:32:26 -0000 From: Stephen Warren X-Patchwork-Id: 186921 Message-Id: <1348615946-25588-1-git-send-email-swarren@wwwdotorg.org> To: Tom Warren Cc: u-boot@lists.denx.de, Stephen Warren From: Stephen Warren This is extremely likely to be used from the boot.scr that Tegra's default bootcmd locates and executes. Signed-off-by: Stephen Warren --- 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 +#define CONFIG_PARTITION_UUIDS +#define CONFIG_CMD_PART /* remove unused commands */ #undef CONFIG_CMD_FLASH /* flinfo, erase, protect */