diff options
author | Joel Kitching <kitching@google.com> | 2019-03-21 00:30:38 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-25 11:02:04 +0000 |
commit | 99625b0cd83871b30aca6ad7bb182326f8467673 (patch) | |
tree | ee64f0ecb12d80bec12d2daa2a274457232e356b /src/mainboard/emulation/qemu-armv7/devicetree.cb | |
parent | 837f6552917852d618b5dbce960e95ede3c3fe26 (diff) |
gale: add dev switch back as physical presence GPIO
gale has a button which is essentially used as a
"physical presence" button. Its only use is to emulate
^D or ^U on boot when the button is pressed.
(See depthcharge src/board/gale/board.c)
Previously (and currently in CrOS firmware branch) this
GPIO was defined as the physical developer switch,
and read as such in depthcharge. It was removed in
cleanup patch CB:18980.
Add the GPIO back as physical presence ("presence"),
which will be read by depthcharge in CL:1532492.
BUG=b:124141368, b:124192753, chromium:942901
TEST=util/lint/checkpatch.pl -g origin/master..HEAD
TEST=util/abuild/abuild -B -e -y -c 50 -p none -x
TEST=make clean && make test-abuild
BRANCH=none
Change-Id: Ic144f839b7f9933d573db8f84c4bf5905eea96f6
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31993
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-armv7/devicetree.cb')
0 files changed, 0 insertions, 0 deletions