X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Fdu405%2Fdu405.c;h=c32d333ddfab897d8053fa4d3ea08872631e71d9;hb=b29c2f0c142fdb8ef50deae1cc7c4338952fba6c;hp=f475d11072d25841bdfff769377ea58f1d275060;hpb=7529b4445bc4525765b003d3269bcf37fc33fac5;p=u-boot diff --git a/board/esd/du405/du405.c b/board/esd/du405/du405.c index f475d11072..c32d333ddf 100644 --- a/board/esd/du405/du405.c +++ b/board/esd/du405/du405.c @@ -24,15 +24,12 @@ #include #include "du405.h" #include -#include -#include <4xx_i2c.h> +#include +#include #include DECLARE_GLOBAL_DATA_PTR; -/*cmd_boot.c*/ - -extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); extern void lxt971_no_sleep(void); @@ -163,7 +160,7 @@ int checkboard (void) int index; int len; char str[64]; - int i = getenv_r ("serial#", str, sizeof (str)); + int i = getenv_f("serial#", str, sizeof (str)); puts ("Board: ");