X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Fdu405%2Fdu405.c;h=69432138d3152f75e059cd459ce574bc6bbff4f8;hb=19bf91f9628f80a55d4f171df71041574882b3d6;hp=26e834196bd923f2b2051d8fc9c0e12a8b981b02;hpb=77ddac9480d63a80b6bb76d7ee4dcc2d1070867e;p=u-boot diff --git a/board/esd/du405/du405.c b/board/esd/du405/du405.c index 26e834196b..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;