summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2016-11-22 11:43:58 -0800
committerFurquan Shaikh <furquan@google.com>2016-12-04 03:03:58 +0100
commit52896c6c33250036928406d9dc38aa2ce1906b05 (patch)
tree3030f7762c76a2e6cacfa903282e771673dba0bf /src/soc
parent1d56eef728a9d9266b2dde9174520900ee87f9f2 (diff)
downloadcoreboot-52896c6c33250036928406d9dc38aa2ce1906b05.tar.xz
spi_flash: Move spi flash opcodes to spi_flash.h
BUG=chrome-os-partner:59832 BRANCH=None TEST=Compiles successfully Change-Id: I3b6656923bb312de470da43a23f66f350e1cebc7 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/17680 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/baytrail/spi.c1
-rw-r--r--src/soc/intel/braswell/spi.c1
-rw-r--r--src/soc/intel/broadwell/spi.c1
-rw-r--r--src/soc/intel/fsp_baytrail/spi.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/spi.c b/src/soc/intel/baytrail/spi.c
index d651350cd5..1f2b285b93 100644
--- a/src/soc/intel/baytrail/spi.c
+++ b/src/soc/intel/baytrail/spi.c
@@ -21,6 +21,7 @@
#include <arch/io.h>
#include <console/console.h>
#include <device/pci_ids.h>
+#include <spi_flash.h>
#include <spi-generic.h>
#include <soc/lpc.h>
diff --git a/src/soc/intel/braswell/spi.c b/src/soc/intel/braswell/spi.c
index 97ca2e56ef..01f215008d 100644
--- a/src/soc/intel/braswell/spi.c
+++ b/src/soc/intel/braswell/spi.c
@@ -22,6 +22,7 @@
#include <rules.h>
#include <soc/lpc.h>
#include <soc/pci_devs.h>
+#include <spi_flash.h>
#include <spi-generic.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/soc/intel/broadwell/spi.c b/src/soc/intel/broadwell/spi.c
index e07b42513d..c7ac09c7de 100644
--- a/src/soc/intel/broadwell/spi.c
+++ b/src/soc/intel/broadwell/spi.c
@@ -20,6 +20,7 @@
#include <arch/io.h>
#include <console/console.h>
#include <device/pci_ids.h>
+#include <spi_flash.h>
#include <spi-generic.h>
#include <soc/pci_devs.h>
#include <soc/rcba.h>
diff --git a/src/soc/intel/fsp_baytrail/spi.c b/src/soc/intel/fsp_baytrail/spi.c
index b021175961..1ab73f3ae3 100644
--- a/src/soc/intel/fsp_baytrail/spi.c
+++ b/src/soc/intel/fsp_baytrail/spi.c
@@ -22,6 +22,7 @@
#include <arch/io.h>
#include <console/console.h>
#include <device/pci_ids.h>
+#include <spi_flash.h>
#include <spi-generic.h>
#include <soc/lpc.h>