X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Fhub405%2Fhub405.c;h=d17c4150369d23a2ba80779137c70b53e8376965;hb=cdb749778aa3a8f8d2a41dd4ad811ef822aecfe6;hp=2a2c4343c0d26b5080a0b414d50cd78559a43878;hpb=78e1e8467795d681b3f5f75140ba175e79954273;p=u-boot diff --git a/board/esd/hub405/hub405.c b/board/esd/hub405/hub405.c index 2a2c4343c0..d17c415036 100644 --- a/board/esd/hub405/hub405.c +++ b/board/esd/hub405/hub405.c @@ -196,7 +196,7 @@ int misc_init_r (void) int checkboard (void) { char str[64]; - int i = getenv_r ("serial#", str, sizeof(str)); + int i = getenv_f("serial#", str, sizeof(str)); puts ("Board: "); @@ -206,7 +206,7 @@ int checkboard (void) puts(str); } - if (getenv_r("bd_type", str, sizeof(str)) != -1) { + if (getenv_f("bd_type", str, sizeof(str)) != -1) { printf(" (%s", str); } else { puts(" (Missing bd_type!");