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:
Elyes HAOUAS
2019-03-21 11:10:03 +01:00
committed by Nico Huber
parent 161eafb0fb
commit bf0970e762
121 changed files with 78 additions and 162 deletions

View File

@@ -21,15 +21,12 @@
#include <cpu/x86/cache.h>
#include <cpu/x86/mtrr.h>
#include <arch/cpu.h>
#include <delay.h>
#include <halt.h>
#include "iomap.h"
#if CONFIG(SOUTHBRIDGE_INTEL_I82801GX)
#include <southbridge/intel/i82801gx/i82801gx.h> /* smbus_read_byte */
#else
#include <southbridge/intel/i82801jx/i82801jx.h> /* smbus_read_byte */
#endif
#include "x4x.h"
#include <spd.h>
#include <string.h>
#include <device/dram/ddr2.h>
@@ -37,6 +34,9 @@
#include <mrc_cache.h>
#include <timestamp.h>
#include "iomap.h"
#include "x4x.h"
#define MRC_CACHE_VERSION 0
static inline int spd_read_byte(unsigned int device, unsigned int address)