X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Fdu405%2Fdu405.c;h=69432138d3152f75e059cd459ce574bc6bbff4f8;hb=19bf91f9628f80a55d4f171df71041574882b3d6;hp=7db2a609789a80dd016455bcfb0693c1108831bc;hpb=05b47540aae996908e48e10a5ff8b69862aadef3;p=u-boot diff --git a/board/esd/du405/du405.c b/board/esd/du405/du405.c index 7db2a60978..69432138d3 100644 --- a/board/esd/du405/du405.c +++ b/board/esd/du405/du405.c @@ -25,9 +25,11 @@ #include "du405.h" #include #include -#include <405gp_i2c.h> +#include <4xx_i2c.h> #include +DECLARE_GLOBAL_DATA_PTR; + /*cmd_boot.c*/ extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); @@ -55,8 +57,6 @@ const unsigned char fpgadata[] = { int board_early_init_f (void) { - DECLARE_GLOBAL_DATA_PTR; - int index, len, i; int status; @@ -162,7 +162,7 @@ int checkboard (void) { int index; int len; - unsigned char str[64]; + char str[64]; int i = getenv_r ("serial#", str, sizeof (str)); puts ("Board: ");