[U-Boot] [PATCH 2/2] ARM: tegra: make CONFIG_CMD_PART common

Stephen Warren swarren at wwwdotorg.org
Wed Feb 27 00:00:58 CET 2013


From: Stephen Warren <swarren at nvidia.com>

This is useful on all Tegras, so that boot.scr on all devices can use
the same commands. Hence, move it to tegra-common.h.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 include/configs/tegra-common.h   |    2 ++
 include/configs/tegra20-common.h |    3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index a3cb5b9..45f0099 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -141,6 +141,8 @@
 #define CONFIG_CMD_GPIO
 #define CONFIG_CMD_ENTERRCM
 #define CONFIG_CMD_BOOTZ
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
 
 /* Defines for SPL */
 #define CONFIG_SPL
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
index c51de00..e464e06 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs/tegra20-common.h
@@ -114,9 +114,6 @@
 /* Total I2C ports on Tegra20 */
 #define TEGRA_I2C_NUM_CONTROLLERS	4
 
-#define CONFIG_PARTITION_UUIDS
-#define CONFIG_CMD_PART
-
 #define CONFIG_SYS_NAND_SELF_INIT
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 
-- 
1.7.10.4



More information about the U-Boot mailing list