]> git.sur5r.net Git - u-boot/blobdiff - board/mpl/mip405/mip405.c
board/mpl: Remove mpl-specific memory test command
[u-boot] / board / mpl / mip405 / mip405.c
index af3a98a42fb4255fd518b6fbd950d19ec2b0c2c0..e93d99407c543625bcfc718fe0204805e2cef236 100644 (file)
@@ -65,7 +65,8 @@
 #include <common.h>
 #include "mip405.h"
 #include <asm/processor.h>
-#include <4xx_i2c.h>
+#include <asm/ppc4xx.h>
+#include <asm/ppc4xx-i2c.h>
 #include <miiphy.h>
 #include "../common/common_util.h"
 #include <stdio_dev.h>
@@ -589,7 +590,7 @@ int checkboard (void)
 
        puts ("Board: ");
        get_pcbrev_var(&bc,&var);
-       i = getenv_("serial#", (char *)s, 32);
+       i = getenv_f("serial#", (char *)s, 32);
        if ((i == 0) || strncmp ((char *)s, BOARD_NAME,sizeof(BOARD_NAME))) {
                get_backup_values (b);
                if (strncmp (b->signature, "MPL\0", 4) != 0) {