summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2013-02-07 17:30:23 +0800
committerPatrick Georgi <patrick@georgi-clan.de>2013-02-11 21:01:47 +0100
commit600784e8b9d11dd1e1afc1918e6eda004ac69de4 (patch)
tree1faa93a7b7319266d274709a1142f875386f3c74 /src/drivers
parent8cc846897132f6d6baa49118005815aefb5f560f (diff)
downloadcoreboot-600784e8b9d11dd1e1afc1918e6eda004ac69de4.tar.xz
spi.h: Rename the spi.h to spi-generic.h
Since there are and will be other files in nb/sb folders, we change the general spi.h to a file name which is not easy to be duplicated. Change-Id: I6548a81206caa608369be044747bde31e2b08d1a Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: zbao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/2309 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/elog/elog.c2
-rw-r--r--src/drivers/spi/spi_flash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index e6baace623..1a794d90ab 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -22,7 +22,7 @@
#include <console/console.h>
#include <pc80/mc146818rtc.h>
#include <smbios.h>
-#include <spi.h>
+#include <spi-generic.h>
#include <spi_flash.h>
#include <stdint.h>
#include <string.h>
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c
index 6b658f894d..d1a95046db 100644
--- a/src/drivers/spi/spi_flash.c
+++ b/src/drivers/spi/spi_flash.c
@@ -9,7 +9,7 @@
#include <stdlib.h>
#include <string.h>
-#include <spi.h>
+#include <spi-generic.h>
#include <spi_flash.h>
#include <delay.h>
#ifdef __SMM__