summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/include
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-06-19 23:20:08 -0700
committerFurquan Shaikh <furquan@google.com>2016-06-21 20:38:15 +0200
commitbdcda710a7e4bc439408eedaf3e66145c6831c90 (patch)
tree168cf4e271771573aeab0ec0d707b545b88212c1 /src/soc/intel/apollolake/include
parentd3f4c5be8b52638a55997a7d5b6254c39be47830 (diff)
intel/apollolake: Add helper routine for spi reg read
BUG=chrome-os-partner:54563 Change-Id: I56bc6b5292aec676103a436048abee8577edd961 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/15268 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/apollolake/include')
-rw-r--r--src/soc/intel/apollolake/include/soc/spi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/include/soc/spi.h b/src/soc/intel/apollolake/include/soc/spi.h
index 1414a84686..f67110f125 100644
--- a/src/soc/intel/apollolake/include/soc/spi.h
+++ b/src/soc/intel/apollolake/include/soc/spi.h
@@ -75,4 +75,6 @@
*/
int spi_read_status(uint8_t *status);
+/* Read SPI controller register. */
+uint32_t spi_ctrlr_reg_read(uint16_t reg);
#endif