From 63905f1616fc2f827e986d8e82a5a2b69f4a0e6a Mon Sep 17 00:00:00 2001
From: Stephen Warren <swarren@nvidia.com>
Date: Wed, 13 Jun 2012 09:55:12 +0000
Subject: [PATCH] tegra: define fdt_load/fdt_high variables

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@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 include/configs/tegra2-common-post.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/tegra2-common-post.h b/include/configs/tegra2-common-post.h
index 80d9c3500d..c21fc28dfe 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 */
-- 
2.39.5