summaryrefslogtreecommitdiffstats
path: root/serprog.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-27 00:34:23 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-27 00:34:23 +0000
commit92fefc921a602acb89a897193c9f31fbb78d85b5 (patch)
treeabf7f12e3a23e8447c556603dce6de5ed5509e75 /serprog.h
parent0d82e952f2a896aefa1187e53b0ec6d6d559fe9b (diff)
downloadast2050-flashrom-92fefc921a602acb89a897193c9f31fbb78d85b5.zip
ast2050-flashrom-92fefc921a602acb89a897193c9f31fbb78d85b5.tar.gz
serprog: add opcode to control the programmer's output drivers
This allowed me to let the clips remain attached on my D946GZIS while playing with coreboot/serialice. Corresponding to flashrom svn r1618. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'serprog.h')
-rw-r--r--serprog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/serprog.h b/serprog.h
index 8d11772..b54aaea 100644
--- a/serprog.h
+++ b/serprog.h
@@ -22,3 +22,4 @@
#define S_CMD_S_BUSTYPE 0x12 /* Set used bustype(s). */
#define S_CMD_O_SPIOP 0x13 /* Perform SPI operation. */
#define S_CMD_S_SPI_FREQ 0x14 /* Set SPI clock frequency */
+#define S_CMD_S_PIN_STATE 0x15 /* Enable/disable output drivers */
OpenPOWER on IntegriCloud