summaryrefslogtreecommitdiff
path: root/drivers/gpio/mpc83xx_gpio.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-06 19:27:50 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-03-17 10:27:22 +0800
commitbbf2478026c0addfff000f31cc1b5639cbff52cb (patch)
tree58db941696e2d4153370d1b25c11579a89dc8dd3 /drivers/gpio/mpc83xx_gpio.c
parent740d5d34b12f49b5e6c48e06dd8f519d9563a7e3 (diff)
downloadu-boot-imx-bbf2478026c0addfff000f31cc1b5639cbff52cb.zip
u-boot-imx-bbf2478026c0addfff000f31cc1b5639cbff52cb.tar.gz
u-boot-imx-bbf2478026c0addfff000f31cc1b5639cbff52cb.tar.bz2
gpio: Add a function to obtain a GPIO vector value
We can use GPIOs as binary digits for reading 'strapping' values. Each GPIO is assigned a single bit and can be set high or low on the circuit board. We already have a legacy function for reading these values. Add one that supports driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/gpio/mpc83xx_gpio.c')
0 files changed, 0 insertions, 0 deletions