summaryrefslogtreecommitdiff
path: root/board/gateworks
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2017-03-13 15:51:06 (GMT)
committerStefano Babic <sbabic@denx.de>2017-03-19 16:29:58 (GMT)
commitdb1964cad7b7c72a5bb7a44372cde8c7e9d05d8f (patch)
tree051813450ebecc7bc4b52c1bac6b7bea72abc4f7 /board/gateworks
parent095968f1b1ae3a75272973161b5ce91e65707317 (diff)
downloadu-boot-fsl-qoriq-db1964cad7b7c72a5bb7a44372cde8c7e9d05d8f.tar.xz
imx: ventana: fix hwconfig
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/gateworks')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index ba648f5..22a3c8e 100644
--- 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++) {