Commit graph

6 commits

Author SHA1 Message Date
Sean Cross
7ca50ab413 cmd-spi: Remove dummy read from flashrom
The dummy read was due to a bug in the host-side flashrom code.  It was
sending the NULL byte from the string.  The host code has been fixed, so
the dummy read should be removed.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2015-02-05 00:17:50 +08:00
Sean Cross
fb9c876148 cmd-spi: Add binary mode for flashrom
In order to improve reliability, add a binary mode for interacting
with the SPI chip.  This lets us hook up flashrom.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2015-02-04 21:28:29 +08:00
Sean Cross
bf5535da01 cmd-spi: Add spi_raw command
These commands are needed to get flashrom support.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-12-30 16:15:57 +08:00
Sean Cross
f8991202c6 cmd: Use strtoul instead of _strtoul
The non-underscore one comes from vsprintf.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-11-28 13:12:53 +08:00
Sean Cross
43a1517aec spi: Get basic SPI commands working 2014-09-12 16:46:11 +08:00
Sean Cross
8d0e780508 include: Add GPIO header file
This adds a header file to describe Fernvale's unique GPIO scheme.
2014-09-12 16:45:38 +08:00