1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-26 22:52:34 +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:
Jacob Garber 2019-06-21 15:33:09 -06:00 committed by Nico Huber
parent beeb8bc925
commit 6c68363d0c
5 changed files with 5 additions and 0 deletions

1
edi.c
View File

@ -16,6 +16,7 @@
#include <string.h>
#include "flash.h"
#include "chipdrivers.h"
#include "ene.h"
#include "edi.h"

View File

@ -27,6 +27,7 @@
#include <fcntl.h>
#endif
#include "flash.h"
#include "programmer.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__))

View File

@ -19,6 +19,7 @@
/* Adapted from the Intel FW hub stuff for 82802ax parts. */
#include "flash.h"
#include "chipdrivers.h"
static int check_sst_fwhub_block_lock(struct flashctx *flash, int offset)
{

View File

@ -25,6 +25,7 @@
#include <stdlib.h>
#include <limits.h>
#include "flash.h"
#include "programmer.h"
static bool use_clock_gettime = false;

View File

@ -16,6 +16,7 @@
#include <string.h>
#include "flash.h"
#include "chipdrivers.h"
/* According to the Winbond W29EE011, W29EE012, W29C010M, W29C011A
* datasheets this is the only valid probe function for those chips.