src: Use include <delay.h> when appropriate
Change-Id: I23bc0191ca8fcd88364e5c08be7c90195019e399 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32012 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: David Guckian
This commit is contained in:
@@ -17,9 +17,8 @@
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <delay.h>
|
||||
#include "hudson.h"
|
||||
|
||||
#include "hudson.h"
|
||||
|
||||
static void hda_init(struct device *dev)
|
||||
{
|
||||
|
@@ -15,7 +15,6 @@
|
||||
|
||||
#include "imc.h"
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <Porting.h>
|
||||
#include <AGESA.h>
|
||||
#include <amdlib.h>
|
||||
|
@@ -14,12 +14,11 @@
|
||||
*/
|
||||
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include "hudson.h"
|
||||
|
||||
#include "hudson.h"
|
||||
|
||||
static void sata_init(struct device *dev)
|
||||
{
|
||||
|
@@ -14,10 +14,10 @@
|
||||
*/
|
||||
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include "hudson.h"
|
||||
|
||||
static void sd_init(struct device *dev)
|
||||
|
@@ -19,12 +19,11 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
|
||||
#include "hudson.h"
|
||||
#include "smi.h"
|
||||
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <delay.h>
|
||||
|
||||
#define SMI_0x88_ACPI_COMMAND (1 << 11)
|
||||
|
||||
enum smi_source {
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <delay.h>
|
||||
|
||||
#include "hudson.h"
|
||||
|
||||
static const unsigned short pci_device_ids[] = {
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <device/mmio.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <Porting.h>
|
||||
#include <AGESA.h>
|
||||
#include <Lib/amdlib.h>
|
||||
|
@@ -14,12 +14,11 @@
|
||||
*/
|
||||
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include "hudson.h"
|
||||
|
||||
#include "hudson.h"
|
||||
|
||||
static void sata_init(struct device *dev)
|
||||
{
|
||||
|
@@ -14,10 +14,10 @@
|
||||
*/
|
||||
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include "hudson.h"
|
||||
|
||||
static void sd_init(struct device *dev)
|
||||
|
@@ -19,12 +19,11 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
|
||||
#include "hudson.h"
|
||||
#include "smi.h"
|
||||
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <delay.h>
|
||||
|
||||
#define SMI_0x88_ACPI_COMMAND (1 << 11)
|
||||
|
||||
enum smi_source {
|
||||
|
@@ -18,12 +18,11 @@
|
||||
#include <arch/cbfs.h>
|
||||
#include <ip_checksum.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <delay.h>
|
||||
|
||||
#include "pch.h"
|
||||
/* For DMI bar. */
|
||||
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#define SOUTHBRIDGE PCI_DEV(0, 0x1f, 0)
|
||||
|
||||
static void
|
||||
|
@@ -17,10 +17,10 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include "soc.h"
|
||||
|
||||
static int soc_revision_id = -1;
|
||||
|
@@ -21,8 +21,8 @@
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <device/azalia_device.h>
|
||||
|
||||
#include "pch.h"
|
||||
#include "hda_verb.h"
|
||||
|
||||
|
@@ -15,7 +15,6 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <types.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/pci_ops.h>
|
||||
@@ -29,12 +28,11 @@
|
||||
#include <southbridge/intel/common/finalize.h>
|
||||
#include <northbridge/intel/haswell/haswell.h>
|
||||
#include <cpu/intel/haswell/haswell.h>
|
||||
|
||||
#include "me.h"
|
||||
#include "pch.h"
|
||||
|
||||
#include "nvs.h"
|
||||
|
||||
|
||||
static u8 smm_initialized = 0;
|
||||
|
||||
/* GNVS needs to be updated by an 0xEA PM Trap (B2) after it has been located
|
||||
|
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <delay.h>
|
||||
|
||||
#ifdef UNUSED_CODE
|
||||
int set_ht_link_buffer_counts_chain(u8 ht_c_num, unsigned vendorid, unsigned val);
|
||||
|
@@ -19,10 +19,10 @@
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include "mcp55.h"
|
||||
|
||||
static void sata_init(struct device *dev)
|
||||
|
Reference in New Issue
Block a user