u-boot/arch/sandbox
Simon Glass d638a18357 gpio: sandbox: Track whether a GPIO is driven
Add a new flag to keep track of whether sandbox is driving the pin, or
whether it is expecting an input signal. If it is driving, then the value
of the pin is the value being driven (0 or 1). If not driving, then we
consider the value 0, since we don't currently handle things like pull-ups
yet.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-03-03 15:40:11 -05:00
..
cpu sandbox: Write out bloblist when exiting 2021-03-02 15:53:37 -05:00
dts - adds adc-keys button driver 2021-02-22 12:37:02 -05:00
include/asm gpio: sandbox: Track whether a GPIO is driven 2021-03-03 15:40:11 -05:00
lib common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
config.mk sandbox: sdl: Move to use SDL2 2020-02-05 19:33:46 -07:00
Kconfig sandbox: add handler for exceptions 2020-12-13 07:58:17 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00