[U-Boot] [PATCH 3/3] tegra: define fdt_load/fdt_high variables

Stephen Warren swarren at wwwdotorg.org
Wed Jun 13 21:55:12 CEST 2012


From: Stephen Warren <swarren at nvidia.com>

These variables act like loadaddr, but for a device tree image. Defining
them in the environment allows boot scripts to be identical on Tegra20 and
Tegra30, which have different memory base addresses, and hence need
different values for these variables.

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

diff --git a/include/configs/tegra2-common-post.h b/include/configs/tegra2-common-post.h
index 80d9c35..c21fc28 100644
--- a/include/configs/tegra2-common-post.h
+++ b/include/configs/tegra2-common-post.h
@@ -142,6 +142,8 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	TEGRA2_DEVICE_SETTINGS \
+	"fdt_load=0x01000000\0" \
+	"fdt_high=01100000\0" \
 	BOOTCMDS_COMMON
 
 #endif /* __TEGRA2_COMMON_POST_H */
-- 
1.7.0.4



More information about the U-Boot mailing list