Skip to content

Commit 97ab962

Browse files
committed
ODROID-COMMON: Delete pre-stored value of serial# and eth*addr
Signed-off-by: Dongjin Kim <[email protected]> Change-Id: I38a8be42a23addeda37a2d6046e4cc80a2c82b3f
1 parent 9bacb9e commit 97ab962

File tree

1 file changed

+5
-0
lines changed
  • board/hardkernel/odroid-common

1 file changed

+5
-0
lines changed

board/hardkernel/odroid-common/board.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ int rk_board_late_init(void)
150150
env_set("bootcmd", buf);
151151
env_set("variant", BOARD_VARIANT);
152152

153+
/* Delete device specific values if stored in U-Boot env area */
154+
run_command_list("setenv -f serial#;"
155+
"setenv -f ethaddr;"
156+
"setenv -f eth1addr", -1, 0);
157+
153158
#if defined(CONFIG_TARGET_ODROID_M1)
154159
const char *commands = "sf probe;"
155160
"sf secure on;"

0 commit comments

Comments
 (0)