diff options
author | Måns Rullgård <mans@mansr.com> | 2015-12-15 22:27:57 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-01-07 17:54:16 +0100 |
commit | 88f91d1375aaf4d21d77a2f2daa351dea9132a58 (patch) | |
tree | 773d349d3cbd8d2abea662bda72a4d026281bed7 /drivers/watchdog/bfin_wdt.c | |
parent | fcbe8c56743a1f8ec397a71d5a932faee920bc8a (diff) | |
download | u-boot-imx-88f91d1375aaf4d21d77a2f2daa351dea9132a58.zip u-boot-imx-88f91d1375aaf4d21d77a2f2daa351dea9132a58.tar.gz u-boot-imx-88f91d1375aaf4d21d77a2f2daa351dea9132a58.tar.bz2 |
gpio: mxs: add name_to_gpio() function
Override the default name_to_gpio() function with one that
accepts strings of the form bank:pin. If a colon is present
in the provided name, it behaves like the default version.
This lets the "gpio" command work with sane names rather than
requiring the user to enter the bank/pin composite in decimal.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/watchdog/bfin_wdt.c')
0 files changed, 0 insertions, 0 deletions