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:
@@ -12,17 +12,15 @@
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
#include <delay.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <arch/io.h>
|
||||
#include <edid.h>
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include <pc80/vga.h>
|
||||
|
||||
#include "../common/aspeed_coreboot.h"
|
||||
|
@@ -15,6 +15,8 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
|
||||
#include "ast_drv.h"
|
||||
|
||||
static void send_ack(struct ast_private *ast)
|
||||
|
@@ -26,8 +26,10 @@
|
||||
/*
|
||||
* Authors: Dave Airlie <airlied@redhat.com>
|
||||
*/
|
||||
#include "ast_drv.h"
|
||||
|
||||
#include <delay.h>
|
||||
|
||||
#include "ast_drv.h"
|
||||
#include "ast_dram_tables.h"
|
||||
|
||||
void ast_set_index_reg_mask(struct ast_private *ast,
|
||||
|
@@ -29,8 +29,9 @@
|
||||
|
||||
#define COREBOOT_AST_FAILOVER_TIMEOUT 10000000
|
||||
|
||||
#include "ast_drv.h"
|
||||
#include <delay.h>
|
||||
|
||||
#include "ast_drv.h"
|
||||
#include "ast_dram_tables.h"
|
||||
|
||||
static void ast_init_dram_2300(struct drm_device *dev);
|
||||
|
@@ -12,11 +12,9 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <delay.h>
|
||||
#include <edid.h>
|
||||
#include <stdlib.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
|
@@ -15,17 +15,14 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <delay.h>
|
||||
#include <edid.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include <pc80/vga.h>
|
||||
#include <pc80/vga_io.h>
|
||||
|
||||
|
@@ -25,20 +25,19 @@
|
||||
* Eugeni Dodonov <eugeni.dodonov@intel.com>
|
||||
*
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <stdlib.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/interrupt.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <smbios.h>
|
||||
#include <device/pci.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
#include <cpu/x86/tsc.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
|
@@ -16,7 +16,6 @@
|
||||
*/
|
||||
|
||||
#include <device/pci_ops.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <string.h>
|
||||
#include <device/pci.h>
|
||||
|
@@ -29,7 +29,6 @@ SMC8416 PIO support added by Andrew Bettison (andrewb@zip.com.au) on 4/3/02
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <console/ne2k.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
@@ -19,9 +19,9 @@
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <hwilib.h>
|
||||
#include <bootstate.h>
|
||||
|
||||
#include "nc_fpga.h"
|
||||
|
||||
static void *nc_fpga_bar0;
|
||||
|
@@ -14,7 +14,6 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
|
@@ -11,14 +11,13 @@
|
||||
#include <assert.h>
|
||||
#include <boot_device.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <spi-generic.h>
|
||||
#include <spi_flash.h>
|
||||
#include <timer.h>
|
||||
|
||||
#include "spi_flash_internal.h"
|
||||
#include <timer.h>
|
||||
|
||||
static void spi_flash_addr(u32 addr, u8 *cmd)
|
||||
{
|
||||
|
@@ -17,14 +17,16 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
|
||||
#include "xgi_coreboot.h"
|
||||
#include "vstruct.h"
|
||||
|
||||
#include "XGIfb.h"
|
||||
#include "vb_def.h"
|
||||
#include "vb_util.h"
|
||||
#include "vb_setmode.h"
|
||||
#include "vb_init.h"
|
||||
|
||||
static const unsigned short XGINew_DDRDRAM_TYPE340[4][2] = {
|
||||
{ 16, 0x45},
|
||||
{ 8, 0x35},
|
||||
|
@@ -14,11 +14,11 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
|
||||
#include "xgi_coreboot.h"
|
||||
#include "vstruct.h"
|
||||
|
||||
#include "XGIfb.h"
|
||||
|
||||
#include "vb_def.h"
|
||||
#include "vb_init.h"
|
||||
#include "vb_util.h"
|
||||
|
@@ -15,27 +15,23 @@
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
#include <delay.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <vbe.h>
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include <pc80/vga.h>
|
||||
|
||||
#include "xgi_coreboot.h"
|
||||
#include "vstruct.h"
|
||||
|
||||
#include "XGIfb.h"
|
||||
#include "XGI_main.h"
|
||||
#include "vb_init.h"
|
||||
#include "vb_util.h"
|
||||
#include "vb_setmode.h"
|
||||
|
||||
#include "XGI_main.c"
|
||||
|
||||
static int xgi_vbe_valid;
|
||||
|
@@ -19,12 +19,10 @@
|
||||
#ifndef _XGI_COREBOOT_
|
||||
#define _XGI_COREBOOT_
|
||||
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/mmio.h>
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
|
@@ -12,9 +12,8 @@
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
|
Reference in New Issue
Block a user