summaryrefslogtreecommitdiff
path: root/board/toradex/common/common.c
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-09-20 10:08:54 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-09-29 06:04:01 +0200
commita3d0bf966cb932bdf1b2a4f189f21410a9036b16 (patch)
treea7ff6c7dd3a4cdd02524c786853dce291c48913d /board/toradex/common/common.c
parent2bb0703b30a6febfe6708e4ee1ce061bb19dd807 (diff)
board/toradex/common: whitespace fixup
Cleanup whitespace found when preparing patches for mainline. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
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();