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:
parent
8cc8468971
commit
600784e8b9
|
@ -41,7 +41,7 @@
|
|||
#include "agesawrapper.h"
|
||||
|
||||
#ifndef __PRE_RAM__
|
||||
#include <spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <spi_flash.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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__
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stddef.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
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <cbmem.h>
|
||||
#include "pei_data.h"
|
||||
#include "sandybridge.h"
|
||||
#include <spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <spi_flash.h>
|
||||
#if CONFIG_CHROMEOS
|
||||
#include <vendorcode/google/chromeos/fmap.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <arch/io.h>
|
||||
#include <spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
|
|
@ -163,7 +163,7 @@ typedef union _PCI_ADDR {
|
|||
#include "vendorcode/amd/cimx/sb800/AMDSBLIB.h"
|
||||
|
||||
#if CONFIG_HAVE_ACPI_RESUME
|
||||
#include "spi.h"
|
||||
#include <spi-generic.h>
|
||||
#endif
|
||||
|
||||
#define BIOSRAM_INDEX 0xcd4
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <arch/io.h>
|
||||
#include <spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <console/post_codes.h>
|
||||
#include <northbridge/intel/sandybridge/pcie_config.c>
|
||||
#include "pch.h"
|
||||
#include "spi.h"
|
||||
#include <spi-generic.h>
|
||||
|
||||
void intel_pch_finalize_smm(void)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <console/console.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
||||
#include <spi.h>
|
||||
#include <spi-generic.h>
|
||||
|
||||
#define min(a, b) ((a)<(b)?(a):(b))
|
||||
|
||||
|
|
Loading…
Reference in New Issue