projects
/
karo-tx-uboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c61f46
)
karo: tx53: check ctrlc before returning error code for unsupported baseboard
author
Lothar Waßmann
<LW@KARO-electronics.de>
Thu, 18 Feb 2016 17:17:01 +0000
(18:17 +0100)
committer
Lothar Waßmann
<LW@KARO-electronics.de>
Thu, 18 Feb 2016 17:17:01 +0000
(18:17 +0100)
board/karo/tx53/tx53.c
patch
|
blob
|
history
diff --git
a/board/karo/tx53/tx53.c
b/board/karo/tx53/tx53.c
index
ffc6101
..
9c45791
100644
(file)
--- a/
board/karo/tx53/tx53.c
+++ b/
board/karo/tx53/tx53.c
@@
-1332,7
+1332,6
@@
static void tx53_init_mac(void)
int board_late_init(void)
{
- int ret = 0;
const char *baseboard;
env_cleanup();
@@
-1372,7
+1371,8
@@
int board_late_init(void)
} else {
printf("WARNING: Unsupported baseboard: '%s'\n",
baseboard);
- ret = -EINVAL;
+ if (!had_ctrlc())
+ return -EINVAL;
}
exit:
@@
-1383,7
+1383,7
@@
exit:
get_hab_status();
- return
ret
;
+ return
0
;
}
int checkboard(void)