X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Fdp405%2Fdp405.c;h=587809226fbcd6873588b577920b0b7668e46daa;hb=0208aaf6c2e0f346e8410c0e5adb0ea784f00829;hp=228a57057a930691caa22ff2be7abd0aec7cdecb;hpb=952e7760bfc5b0e3b142b9ce34e7fbb7d008c900;p=u-boot diff --git a/board/esd/dp405/dp405.c b/board/esd/dp405/dp405.c index 228a57057a..587809226f 100644 --- a/board/esd/dp405/dp405.c +++ b/board/esd/dp405/dp405.c @@ -86,7 +86,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)); unsigned char trans[16] = {0x0,0x8,0x4,0xc,0x2,0xa,0x6,0xe, 0x1,0x9,0x5,0xd,0x3,0xb,0x7,0xf}; unsigned char id1, id2, rev;