src/{device,drivers}: Add missing 'include <types.h>'

<types.h> is supposed to provide <stdint.h> and <stddef.h>.
So when <types.h> is included, <stdint.h> and/or <stddef.h> is removed.

Change-Id: I3395715f9e2b03175089186ab2e57d9e508fc87c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32806
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
This commit is contained in:
Elyes HAOUAS
2019-05-15 21:05:37 +02:00
committed by Patrick Georgi
parent b12ece98b0
commit bd1683da29
13 changed files with 18 additions and 4 deletions

View File

@@ -13,6 +13,7 @@
#include <console/console.h>
#include <fsp/util.h>
#include <soc/intel/common/vbt.h>
#include <types.h>
enum pixel_format {
pixel_rgbx_8bpc = 0,

View File

@@ -19,6 +19,7 @@
#include <fsp/api.h>
#include <fsp/info_header.h>
#include <memrange.h>
#include <types.h>
struct hob_header {
uint16_t type;

View File

@@ -32,6 +32,7 @@
#include <security/tpm/tspi.h>
#include <vb2_api.h>
#include <fsp/memory_init.h>
#include <types.h>
/* TPM MRC hash functionality depends on vboot starting before memory init. */
_Static_assert(!CONFIG(FSP2_0_USES_TPM_MRC_HASH) ||

View File

@@ -22,6 +22,7 @@
#include <stage_cache.h>
#include <string.h>
#include <timestamp.h>
#include <types.h>
struct fsp_header fsps_hdr;

View File

@@ -15,6 +15,7 @@
#include <fsp/util.h>
#include <memrange.h>
#include <cbfs.h>
#include <types.h>
void fsp_temp_ram_exit(void)
{

View File

@@ -16,6 +16,7 @@
#include <console/console.h>
#include <fsp/util.h>
#include <string.h>
#include <types.h>
static bool looks_like_fsp_header(const uint8_t *raw_hdr)
{