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
(from parent 1:
6a596c3
)
karo: tx6ul: add support for TX6UL Mainboard (v1)
author
Lothar Waßmann
<LW@KARO-electronics.de>
Thu, 18 Feb 2016 17:34:32 +0000
(18:34 +0100)
committer
Lothar Waßmann
<LW@KARO-electronics.de>
Thu, 18 Feb 2016 17:34:32 +0000
(18:34 +0100)
board/karo/tx6/tx6ul.c
patch
|
blob
|
history
diff --git
a/board/karo/tx6/tx6ul.c
b/board/karo/tx6/tx6ul.c
index
d8595b2
..
2c0a91f
100644
(file)
--- a/
board/karo/tx6/tx6ul.c
+++ b/
board/karo/tx6/tx6ul.c
@@
-1294,6
+1294,15
@@
int board_late_init(void)
printf("WARNING: Unsupported STK5 board rev.: %s\n",
baseboard + 4);
}
+ } else if (strncmp(baseboard, "ulmb-", 5) == 0) {
+ const char *otg_mode = getenv("otg_mode");
+
+ if (otg_mode && strcmp(otg_mode, "host") == 0) {
+ printf("otg_mode='%s' is incompatible with baseboard %s; setting to 'none'\n",
+ otg_mode, baseboard);
+ setenv("otg_mode", "none");
+ }
+ stk5_board_init();
} else {
printf("WARNING: Unsupported baseboard: '%s'\n",
baseboard);