Skip to content
Snippets Groups Projects
Commit 73b6f404 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: cmd_gpio: return gpio value to caller


Make the GPIO command usable in a scripting environment by returning
the GPIO value rather than always 0.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 581e97df
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
gpio_free(gpio);
return 0;
return value;
}
U_BOOT_CMD(gpio, 3, 0, do_gpio,
......
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