summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-25 13:32:26 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:06 -0700
commit01ca2865268b1e01ff3e0541e7ac0cc11717963c (patch)
tree8bb4b16bd9d661352b1679ffd697f6f3aedc11f8
parent150c24936b70ce36e11069038ba8e955704cab3a (diff)
downloadu-boot-imx-01ca2865268b1e01ff3e0541e7ac0cc11717963c.zip
u-boot-imx-01ca2865268b1e01ff3e0541e7ac0cc11717963c.tar.gz
u-boot-imx-01ca2865268b1e01ff3e0541e7ac0cc11717963c.tar.bz2
tegra: enable CONFIG_CMD_PART
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> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--include/configs/tegra-common-post.h9
-rw-r--r--include/configs/tegra20-common.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index a01b2a7..9698c23 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -204,6 +204,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 41fc0cb..dc7444d 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs/tegra20-common.h
@@ -107,6 +107,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 */