Browse Source

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>
Stephen Warren 12 years ago
parent
commit
01ca286526
2 changed files with 11 additions and 0 deletions
  1. 9 0
      include/configs/tegra-common-post.h
  2. 2 0
      include/configs/tegra20-common.h

+ 9 - 0
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 */

+ 2 - 0
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 */