diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-25 13:32:26 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:06 -0700 |
commit | 01ca2865268b1e01ff3e0541e7ac0cc11717963c (patch) | |
tree | 8bb4b16bd9d661352b1679ffd697f6f3aedc11f8 | |
parent | 150c24936b70ce36e11069038ba8e955704cab3a (diff) |
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.h | 9 | ||||
-rw-r--r-- | 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 a01b2a7ab9..9698c23dad 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 41fc0cbb07..dc7444d1cc 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 */ |