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

Stephen Warren swarren at wwwdotorg.org
Wed Sep 26 01:32:26 CEST 2012


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



More information about the U-Boot mailing list