diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-07-30 07:37:52 +0000 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2012-09-07 13:54:31 -0700 |
commit | 9614a1e9636976add95730c2da569ac1b274f232 (patch) | |
tree | cf27ffdd4b85385d2f0dc7dcd79b76344942509c /include/configs/harmony.h | |
parent | 0dd84084deef226b9992b6db649b5f41d60b77b8 (diff) | |
download | u-boot-imx-9614a1e9636976add95730c2da569ac1b274f232.zip u-boot-imx-9614a1e9636976add95730c2da569ac1b274f232.tar.gz u-boot-imx-9614a1e9636976add95730c2da569ac1b274f232.tar.bz2 |
tegra: enable NAND on Harmony
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/harmony.h')
-rw-r--r-- | include/configs/harmony.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/harmony.h b/include/configs/harmony.h index d0555c1..69857dd 100644 --- a/include/configs/harmony.h +++ b/include/configs/harmony.h @@ -62,8 +62,15 @@ #define CONFIG_CMD_EXT2 #define CONFIG_CMD_FAT -/* Environment not stored */ -#define CONFIG_ENV_IS_NOWHERE +/* NAND support */ +#define CONFIG_CMD_NAND +#define CONFIG_TEGRA_NAND +#define CONFIG_SYS_MAX_NAND_DEVICE 1 +#define CONFIG_SYS_NAND_BASE TEGRA20_NAND_BASE + +/* Environment in NAND (which is 512M), aligned to start of last sector */ +#define CONFIG_ENV_IS_IN_NAND +#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sector size */ /* USB Host support */ #define CONFIG_USB_EHCI |