mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
tree: Include missing headers for function prototypes
These files all contain functions whose prototypes are in header files, so make sure those header files are included. Change-Id: I0189a1550bf90d4a0b87dcef9f8a8449590cc9d7 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33668 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
beeb8bc925
commit
6c68363d0c
1
edi.c
1
edi.c
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "flash.h"
|
#include "flash.h"
|
||||||
|
#include "chipdrivers.h"
|
||||||
#include "ene.h"
|
#include "ene.h"
|
||||||
#include "edi.h"
|
#include "edi.h"
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
#include "flash.h"
|
#include "flash.h"
|
||||||
|
#include "programmer.h"
|
||||||
#include "hwaccess.h"
|
#include "hwaccess.h"
|
||||||
|
|
||||||
#if !(IS_LINUX || IS_MACOSX || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__DJGPP__) || defined(__LIBPAYLOAD__) || defined(__sun) || defined(__gnu_hurd__))
|
#if !(IS_LINUX || IS_MACOSX || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__DJGPP__) || defined(__LIBPAYLOAD__) || defined(__sun) || defined(__gnu_hurd__))
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
/* Adapted from the Intel FW hub stuff for 82802ax parts. */
|
/* Adapted from the Intel FW hub stuff for 82802ax parts. */
|
||||||
|
|
||||||
#include "flash.h"
|
#include "flash.h"
|
||||||
|
#include "chipdrivers.h"
|
||||||
|
|
||||||
static int check_sst_fwhub_block_lock(struct flashctx *flash, int offset)
|
static int check_sst_fwhub_block_lock(struct flashctx *flash, int offset)
|
||||||
{
|
{
|
||||||
|
1
udelay.c
1
udelay.c
@ -25,6 +25,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "flash.h"
|
#include "flash.h"
|
||||||
|
#include "programmer.h"
|
||||||
|
|
||||||
static bool use_clock_gettime = false;
|
static bool use_clock_gettime = false;
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "flash.h"
|
#include "flash.h"
|
||||||
|
#include "chipdrivers.h"
|
||||||
|
|
||||||
/* According to the Winbond W29EE011, W29EE012, W29C010M, W29C011A
|
/* According to the Winbond W29EE011, W29EE012, W29C010M, W29C011A
|
||||||
* datasheets this is the only valid probe function for those chips.
|
* datasheets this is the only valid probe function for those chips.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user