]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/t208xqds/spl.c
Merge git://www.denx.de/git/u-boot-imx
[u-boot] / board / freescale / t208xqds / spl.c
index d7d716b690a23c833ab07522f2d6480015a038b3..36961dc9b05302bdac0a3153af2a688090b02f99 100644 (file)
@@ -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();