]> git.sur5r.net Git - u-boot/blobdiff - board/esd/du405/du405.c
twl4030: make twl4030_i2c_read_u8 prototype consistent
[u-boot] / board / esd / du405 / du405.c
index aa7ee92a5f13536300b04118ae6cd6a6583ad6ab..c32d333ddfab897d8053fa4d3ea08872631e71d9 100644 (file)
 #include <common.h>
 #include "du405.h"
 #include <asm/processor.h>
-#include <ppc4xx.h>
-#include <4xx_i2c.h>
+#include <asm/ppc4xx.h>
+#include <asm/ppc4xx-i2c.h>
 #include <command.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-/*cmd_boot.c*/
-
-extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
 extern void lxt971_no_sleep(void);
 
 
@@ -163,7 +160,7 @@ int checkboard (void)
        int index;
        int len;
        char str[64];
-       int i = getenv_("serial#", str, sizeof (str));
+       int i = getenv_f("serial#", str, sizeof (str));
 
        puts ("Board: ");