]> git.sur5r.net Git - u-boot/blobdiff - board/cray/L1/L1.c
Merge branch 'master' of /home/wd/git/u-boot/custodians
[u-boot] / board / cray / L1 / L1.c
index 1656e8ac03cab826eaea4e1b9083b2227e5141e9..0f5f02cb8c6a82057b34d52af4321775ef6860df 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <common.h>
 #include <asm/processor.h>
-#include <4xx_i2c.h>
+#include <asm/ppc4xx-i2c.h>
 #include <command.h>
 #include <rtc.h>
 #include <post.h>
@@ -245,7 +245,7 @@ int testdram (void)
        uint *pend = (uint *) L1_MEMSIZE;
        uint *p;
 
-       if (getenv_r("booted",NULL,0) <= 0)
+       if (getenv_f("booted",NULL,0) <= 0)
        {
                printf ("testdram..");
        /*AA*/