Skip to content
Snippets Groups Projects
Commit db1964ca authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

imx: ventana: fix hwconfig

parent 095968f1
No related branches found
No related tags found
No related merge requests found
...@@ -739,7 +739,7 @@ int misc_init_r(void) ...@@ -739,7 +739,7 @@ int misc_init_r(void)
/* Set a non-initialized hwconfig based on board configuration */ /* Set a non-initialized hwconfig based on board configuration */
if (!strcmp(getenv("hwconfig"), "_UNKNOWN_")) { if (!strcmp(getenv("hwconfig"), "_UNKNOWN_")) {
sprintf(buf, "hwconfig="); buf[0] = 0;
if (gpio_cfg[board_type].rs232_en) if (gpio_cfg[board_type].rs232_en)
strcat(buf, "rs232;"); strcat(buf, "rs232;");
for (i = 0; i < gpio_cfg[board_type].dio_num; i++) { for (i = 0; i < gpio_cfg[board_type].dio_num; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment