summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-11 09:23:52 -0600
committerSimon Glass <sjg@chromium.org>2014-08-31 23:21:06 -0600
commit89e6405425c7b52fd1330c61b6f5526612b87516 (patch)
tree13186d56fec8da659f25289204b6d71923b495df /common/flash.c
parenta1263632bb05f0a21620bad0661235fcbbe79dca (diff)
downloadu-boot-imx-89e6405425c7b52fd1330c61b6f5526612b87516.zip
u-boot-imx-89e6405425c7b52fd1330c61b6f5526612b87516.tar.gz
u-boot-imx-89e6405425c7b52fd1330c61b6f5526612b87516.tar.bz2
dm: gpio: Enhance gpio command to show only active GPIOs
The GPIO list is very long in many cases and most of them are not used. By default, show only the GPIOs that are in use, and provide a flag to show all of them. This makes the 'gpio status' command much more pleasant. In order to do this, driver model now exposes a method for obtaining the 'function' of a GPIO, which describes whether it is an input or output, for example. Implementation of this method is optional. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/flash.c')
0 files changed, 0 insertions, 0 deletions