summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-07-18 11:51:33 -0400
committerTom Rini <trini@ti.com>2014-08-25 08:52:34 -0400
commite017fd61c5a89e32db682d94d8d669df1709edbb (patch)
tree69d213f4ab97ecaa9c2b95bca8384845d7218d93
parent865813ed83792e7fbfde23118c906099b64fe556 (diff)
downloadu-boot-imx-e017fd61c5a89e32db682d94d8d669df1709edbb.zip
u-boot-imx-e017fd61c5a89e32db682d94d8d669df1709edbb.tar.gz
u-boot-imx-e017fd61c5a89e32db682d94d8d669df1709edbb.tar.bz2
tseries: Set CONFIG_ENV_IS_NOWHERE for SPL+NAND
In the case of SPL on these boards we only need environment for SPL_USBETH, so it's safe to normally use ENV_IS_NOWHERE and SPL+NAND does not support environment today. Cc: Hannes Petermaier <oe5hpm@oevsv.at> Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--include/configs/tseries.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/tseries.h b/include/configs/tseries.h
index 1fd6e32..1dd13fd 100644
--- a/include/configs/tseries.h
+++ b/include/configs/tseries.h
@@ -243,8 +243,12 @@
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
#elif defined(CONFIG_NAND)
-#undef CONFIG_ENV_IS_NOWHERE
+/* No NAND env support in SPL */
+#ifdef CONFIG_SPL_BUILD
+#define CONFIG_ENV_IS_NOWHERE
+#else
#define CONFIG_ENV_IS_IN_NAND
+#endif
#define CONFIG_ENV_OFFSET 0x120000 /* TODO: Adresse definieren */
#define CONFIG_SYS_ENV_SECT_SIZE CONFIG_ENV_SIZE
#else