projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
env: Add an enum for environment state
[oweals/u-boot.git]
/
board
/
freescale
/
t102xqds
/
spl.c
diff --git
a/board/freescale/t102xqds/spl.c
b/board/freescale/t102xqds/spl.c
index b987ecea1d23e0552b81f279c2fa1b84495c2c7a..3aa19e6715ba29e178e51fe33517c6b88fd9163c 100644
(file)
--- a/
board/freescale/t102xqds/spl.c
+++ b/
board/freescale/t102xqds/spl.c
@@
-5,6
+5,7
@@
#include <common.h>
#include <console.h>
+#include <environment.h>
#include <malloc.h>
#include <ns16550.h>
#include <nand.h>
@@
-138,7
+139,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();