summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZubairLK <ZubairLK@users.noreply.github.com>2015-06-29 12:40:54 +0300
committerZubairLK <ZubairLK@users.noreply.github.com>2015-06-29 12:40:54 +0300
commita30f816f77893486ea5ee610972733bf2962c897 (patch)
treef9d4128878da44ce24222993dfc1432e67d4af01
parentb253ee9554899f0cc8d0c0147e6d110693a140aa (diff)
parentddec3b7873e82e9dcad1573aa2fce751cc1ce67a (diff)
downloadCI20_u-boot-a30f816f77893486ea5ee610972733bf2962c897.tar.xz
Merge pull request #4 from aejsmith/ci20-v2013.10-otp
ci20: Fix garbage in board_mfr environment string
-rw-r--r--board/imgtec/ci20/ci20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/imgtec/ci20/ci20.c b/board/imgtec/ci20/ci20.c
index 6ca384801..767efb189 100644
--- a/board/imgtec/ci20/ci20.c
+++ b/board/imgtec/ci20/ci20.c
@@ -70,7 +70,7 @@ int misc_init_r(void)
setenv_ulong("board_date", otp.date);
memcpy(manufacturer, otp.manufacturer, 2);
manufacturer[2] = 0;
- setenv("board_mfr", otp.manufacturer);
+ setenv("board_mfr", manufacturer);
return 0;
}