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: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2010-09-20 13:46:29 -04:00
parent 581e97df38
commit 73b6f4046b

View File

@ -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,