summaryrefslogtreecommitdiff
path: root/board/avnet/fx12mm/fx12mm.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-08-07 22:33:06 +0200
committerWolfgang Denk <wd@denx.de>2010-08-07 22:33:06 +0200
commit3df4f46f3209c067dcadc969ed02d27c97fa3632 (patch)
tree4639307e5e9120b0c80c62da8376be3e406e84fb /board/avnet/fx12mm/fx12mm.c
parent9efac4a1eb99d9c5539aa6992025eeacab7980c6 (diff)
parentc519facc645812c6d174c2d5b60241d23e285642 (diff)
Merge branch 'master' of /home/wd/git/u-boot/master
Diffstat (limited to 'board/avnet/fx12mm/fx12mm.c')
-rw-r--r--board/avnet/fx12mm/fx12mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/avnet/fx12mm/fx12mm.c b/board/avnet/fx12mm/fx12mm.c
index 4858645918..e671a7bed1 100644
--- a/board/avnet/fx12mm/fx12mm.c
+++ b/board/avnet/fx12mm/fx12mm.c
@@ -34,7 +34,7 @@ int checkboard(void)
{
char tmp[64];
char *s, *e;
- int i = getenv_r("serial", tmp, sizeof(tmp));
+ int i = getenv_f("serial", tmp, sizeof(tmp));
if (i < 0) {
printf("Avnet Virtex4 FX12 with no serial #");