]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/t208xrdb/spl.c
Merge git://www.denx.de/git/u-boot-imx
[u-boot] / board / freescale / t208xrdb / spl.c
index b43140148b18c554cdef10e39fe05095acbd79d2..f0cc34d788e196a33a6092099d19335323b8db0a 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <console.h>
+#include <environment.h>
 #include <malloc.h>
 #include <ns16550.h>
 #include <nand.h>
@@ -94,7 +95,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();