summaryrefslogtreecommitdiff
path: root/include/configs/tseries.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/tseries.h')
-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 1fd6e32baf..1dd13fd1b0 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