diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-01-23 13:17:01 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2014-02-03 09:46:44 -0700 |
commit | b9b53a60ae1148fa478c21f19fe89b8991ef0692 (patch) | |
tree | ca47fcf4e156550197585025fa9f9a675a4e0f48 /include/configs/cardhu.h | |
parent | 86b657878b1ad311167c88b555afded10f98f4d4 (diff) | |
download | u-boot-imx-b9b53a60ae1148fa478c21f19fe89b8991ef0692.zip u-boot-imx-b9b53a60ae1148fa478c21f19fe89b8991ef0692.tar.gz u-boot-imx-b9b53a60ae1148fa478c21f19fe89b8991ef0692.tar.bz2 |
ARM: tegra: set env vars to indicate Cardhu A04 support
The U-Boot "cardhu" build supports only revision 4 of the Cardhu board
and later compatible revisions. Hence, set $board_name in the default
environment to "cardhu-a04" rather than just "cardhu".
The Linux kernel has separate DTs for Cardhu A02 and A04, although the
former isn't really supported any more. Consequently, the kernel DT file
that matches the U-Boot cardhu build is "tegra30-cardhu-a04.dtb" rather
than "tegra30-cardhu.dtb". Set the $fdtfile default environment variable
to reflect this.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/cardhu.h')
-rw-r--r-- | include/configs/cardhu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index 4abb03e..e80d1a6 100644 --- a/include/configs/cardhu.h +++ b/include/configs/cardhu.h @@ -30,6 +30,10 @@ #define V_PROMPT "Tegra30 (Cardhu) # " #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Cardhu" +#define BOARD_EXTRA_ENV_SETTINGS \ + "board_name=cardhu-a04\0" \ + "fdtfile=tegra30-cardhu-a04.dtb\0" + /* Board-specific serial config */ #define CONFIG_SERIAL_MULTI #define CONFIG_TEGRA_ENABLE_UARTA |