aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/t208xqds/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/t208xqds/spl.c')
-rw-r--r--board/freescale/t208xqds/spl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/t208xqds/spl.c b/board/freescale/t208xqds/spl.c
index d7d716b690a..36961dc9b05 100644
--- a/board/freescale/t208xqds/spl.c
+++ b/board/freescale/t208xqds/spl.c
@@ -5,6 +5,7 @@
#include <common.h>
#include <console.h>
+#include <environment.h>
#include <malloc.h>
#include <ns16550.h>
#include <nand.h>
@@ -124,7 +125,7 @@ void board_init_r(gd_t *gd, ulong dest_addr)
#endif
gd->env_addr = (ulong)(CONFIG_ENV_ADDR);
- gd->env_valid = 1;
+ gd->env_valid = ENV_VALID;
i2c_init_all();