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>
This commit is contained in:
Zheng Bao 2013-02-07 17:30:23 +08:00 committed by Patrick Georgi
parent 8cc8468971
commit 600784e8b9
11 changed files with 10 additions and 10 deletions

View File

@ -41,7 +41,7 @@
#include "agesawrapper.h" #include "agesawrapper.h"
#ifndef __PRE_RAM__ #ifndef __PRE_RAM__
#include <spi.h> #include <spi-generic.h>
#include <spi_flash.h> #include <spi_flash.h>
#endif #endif

View File

@ -22,7 +22,7 @@
#include <console/console.h> #include <console/console.h>
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <smbios.h> #include <smbios.h>
#include <spi.h> #include <spi-generic.h>
#include <spi_flash.h> #include <spi_flash.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -9,7 +9,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <spi.h> #include <spi-generic.h>
#include <spi_flash.h> #include <spi_flash.h>
#include <delay.h> #include <delay.h>
#ifdef __SMM__ #ifdef __SMM__

View File

@ -26,7 +26,7 @@
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <console/console.h> #include <console/console.h>
#include <spi.h> #include <spi-generic.h>
/** /**
* container_of - cast a member of a structure out to the containing structure * container_of - cast a member of a structure out to the containing structure

View File

@ -26,7 +26,7 @@
#include <cbmem.h> #include <cbmem.h>
#include "pei_data.h" #include "pei_data.h"
#include "sandybridge.h" #include "sandybridge.h"
#include <spi.h> #include <spi-generic.h>
#include <spi_flash.h> #include <spi_flash.h>
#if CONFIG_CHROMEOS #if CONFIG_CHROMEOS
#include <vendorcode/google/chromeos/fmap.h> #include <vendorcode/google/chromeos/fmap.h>

View File

@ -20,7 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <arch/io.h> #include <arch/io.h>
#include <spi.h> #include <spi-generic.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>

View File

@ -163,7 +163,7 @@ typedef union _PCI_ADDR {
#include "vendorcode/amd/cimx/sb800/AMDSBLIB.h" #include "vendorcode/amd/cimx/sb800/AMDSBLIB.h"
#if CONFIG_HAVE_ACPI_RESUME #if CONFIG_HAVE_ACPI_RESUME
#include "spi.h" #include <spi-generic.h>
#endif #endif
#define BIOSRAM_INDEX 0xcd4 #define BIOSRAM_INDEX 0xcd4

View File

@ -20,7 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <arch/io.h> #include <arch/io.h>
#include <spi.h> #include <spi-generic.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>

View File

@ -23,7 +23,7 @@
#include <console/post_codes.h> #include <console/post_codes.h>
#include <northbridge/intel/sandybridge/pcie_config.c> #include <northbridge/intel/sandybridge/pcie_config.c>
#include "pch.h" #include "pch.h"
#include "spi.h" #include <spi-generic.h>
void intel_pch_finalize_smm(void) void intel_pch_finalize_smm(void)
{ {

View File

@ -29,7 +29,7 @@
#include <console/console.h> #include <console/console.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <spi.h> #include <spi-generic.h>
#define min(a, b) ((a)<(b)?(a):(b)) #define min(a, b) ((a)<(b)?(a):(b))