浏览代码

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>
Stephen Warren 13 年之前
父节点
当前提交
63905f1616
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/configs/tegra2-common-post.h

+ 2 - 0
include/configs/tegra2-common-post.h

@@ -142,6 +142,8 @@
 
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	TEGRA2_DEVICE_SETTINGS \
 	TEGRA2_DEVICE_SETTINGS \
+	"fdt_load=0x01000000\0" \
+	"fdt_high=01100000\0" \
 	BOOTCMDS_COMMON
 	BOOTCMDS_COMMON
 
 
 #endif /* __TEGRA2_COMMON_POST_H */
 #endif /* __TEGRA2_COMMON_POST_H */