summaryrefslogtreecommitdiff
path: root/board/toradex/common/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/toradex/common/common.c')
-rw-r--r--board/toradex/common/common.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/board/toradex/common/common.c b/board/toradex/common/common.c
index 642e723ed9..6f19552ac9 100644
--- a/board/toradex/common/common.c
+++ b/board/toradex/common/common.c
@@ -67,7 +67,6 @@ void get_board_serial(struct tag_serialnr *serialnr)
}
#endif /* CONFIG_SERIAL_TAG */
-
int checkboard(void)
{
unsigned char ethaddr[6];
@@ -85,7 +84,6 @@ int checkboard(void)
trdx_hw_tag.ver_minor,
(char)trdx_hw_tag.ver_assembly + 'A');
-
setenv("serial#", trdx_serial_str);
/*
@@ -108,9 +106,9 @@ int checkboard(void)
#endif
printf("Model: Toradex %s %s, Serial# %s\n",
- toradex_modules[trdx_hw_tag.prodid],
- trdx_board_rev_str,
- trdx_serial_str);
+ toradex_modules[trdx_hw_tag.prodid],
+ trdx_board_rev_str,
+ trdx_serial_str);
return 0;
}
@@ -165,7 +163,6 @@ u32 get_board_serial(void)
}
#endif /* CONFIG_SERIAL_TAG */
-
int checkboard(void)
{
checkboard_fallback();