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>
This commit is contained in:
Stephen Warren 2012-06-13 09:55:12 +00:00 committed by Albert ARIBAUD (U-Boot)
parent dd8ab95344
commit 63905f1616

View file

@ -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 */