summaryrefslogtreecommitdiff
path: root/chip/g/gpio.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-11-13 13:57:10 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-14 22:47:13 +0000
commite28b6184b117bfa3e0193ce8ed6a84b70c631c51 (patch)
treec98f4fae5916525001921a2ac5fbe04301473ac1 /chip/g/gpio.c
parent399a810103839ecf990c1add90156aa49d631317 (diff)
downloadchrome-ec-e28b6184b117bfa3e0193ce8ed6a84b70c631c51.tar.gz
tweak: Allow "rw" command to read AND write memory.
It's really annoying to have to type two different commands. If I want to read a location and then write it and then read it back (which often happens when poking at hardware), then this: rw 0x40570008 rw 0x40570008 14 rw 0x40570008 is much easier to enter than this: rw 0x40570008 ww 0x40570008 14 rw 0x40570008 The "ww" command is still there, if you're really attached to it. BUG=none BRANCH=none TEST=manual Tried the example above. It worked. Change-Id: I2302ed60df3dd3ec2224afa7c32d997bd2468ec1 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/229660 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/g/gpio.c')
0 files changed, 0 insertions, 0 deletions