diff options
author | Simon Glass <sjg@chromium.org> | 2012-05-26 17:39:47 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-02 22:35:50 -0700 |
commit | f492f04a9d90504fa2d042b3a5bbf2aa11e123eb (patch) | |
tree | e4703e69e7eb216d7bc9031886686088537b2a10 /include/hwtimer.h | |
parent | 34bba875778918f1b4e45c5f3ced982adbca5b9e (diff) | |
download | chrome-ec-f492f04a9d90504fa2d042b3a5bbf2aa11e123eb.tar.gz |
stm32: Fix up SPI driver to use host_command interface
This driver was not refactored when the host_command changes were made,
although i2c was. Tidy this up.
SPI requests the command response immediately rather than going through
the task queue, since otherwise a response may take long enough that the
SPI master misses it altogether.
BUG=chrome-os-partner:10533
TEST=manual:
build and boot on snow; In U-Boot:
> sspi 4:0 240 20
See that it gets key messages back now
Change-Id: Ia2c24d4c8876fefedad4c02802f77e50d7159d03
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/25982
Diffstat (limited to 'include/hwtimer.h')
0 files changed, 0 insertions, 0 deletions