summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Cho <joy.cho@hardkernel.com>2016-05-11 08:35:27 +0300
committerGerrit Code Review <gerrit@almond.hardkernel.com>2016-05-11 08:35:27 +0300
commit01bafa6e1264c034674c2e7090c82bab1484a070 (patch)
treeae04a349a811fd7d1bd4f534de9f620618fc82fd
parent33d97a58920c4da98420ba461c5fece05d565d7b (diff)
parent7a261c2b80821b845a1ef717a1c8df1f43905909 (diff)
downloadu-boot-s905_5.1.1_v1.5.tar.xz
Merge "ODROID-C2:Fix the wrong saveenv routine in every booting time on board_identity" into odroidc2-v2015.01s905_5.1.1_v1.5
-rw-r--r--board/hardkernel/odroidc2/odroidc2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/hardkernel/odroidc2/odroidc2.c b/board/hardkernel/odroidc2/odroidc2.c
index 995fa5c767..0f02fe6170 100644
--- a/board/hardkernel/odroidc2/odroidc2.c
+++ b/board/hardkernel/odroidc2/odroidc2.c
@@ -188,6 +188,9 @@ void board_identity(void)
char __serialno[17];
int offset, length;
+ if (getenv("fbt_id#") != NULL)
+ return;
+
/* S/N */
offset = 20;
length = 16;