提交 db1964ca 编写于 作者: T Tim Harvey 提交者: Stefano Babic

imx: ventana: fix hwconfig

Signed-off-by: NTim Harvey <tharvey@gateworks.com>
Reviewed-by: NStefano Babic <sbabic@denx.de>
上级 095968f1
......@@ -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++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册