projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
095968f
)
imx: ventana: fix hwconfig
author
Tim Harvey
<tharvey@gateworks.com>
Mon, 13 Mar 2017 15:51:06 +0000
(08:51 -0700)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 19 Mar 2017 16:29:58 +0000
(17:29 +0100)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
board/gateworks/gw_ventana/gw_ventana.c
patch
|
blob
|
history
diff --git
a/board/gateworks/gw_ventana/gw_ventana.c
b/board/gateworks/gw_ventana/gw_ventana.c
index ba648f5e255f6bc1a1797f09f7298711c0dc99ee..22a3c8e607eadf271f8b4fc50fd6adc58c518347 100644
(file)
--- a/
board/gateworks/gw_ventana/gw_ventana.c
+++ b/
board/gateworks/gw_ventana/gw_ventana.c
@@
-739,7
+739,7
@@
int misc_init_r(void)
/* Set a non-initialized hwconfig based on board configuration */
if (!strcmp(getenv("hwconfig"), "_UNKNOWN_")) {
-
sprintf(buf, "hwconfig=")
;
+
buf[0] = 0
;
if (gpio_cfg[board_type].rs232_en)
strcat(buf, "rs232;");
for (i = 0; i < gpio_cfg[board_type].dio_num; i++) {