]> 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 a5f940c6f6356a4d60820b51f91fa31cf597229e..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,11 +95,11 @@ 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();
 
-       initdram();
+       dram_init();
 
 #ifdef CONFIG_SPL_MMC_BOOT
        mmc_boot();