src/{ec,vendorcode}: 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: I1eb4163fb36a47b584f1fc9dd3c012e2930e9866
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32807
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:07:30 +02:00 committed by Patrick Georgi
parent bd1683da29
commit 5fd93e0582
4 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include <smbios.h> #include <smbios.h>
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <pc80/keyboard.h> #include <pc80/keyboard.h>
#include <types.h>
#include "h8.h" #include "h8.h"
#include "chip.h" #include "chip.h"

View File

@ -18,6 +18,7 @@
#include <device/device.h> #include <device/device.h>
#include <ec/acpi/ec.h> #include <ec/acpi/ec.h>
#include <option.h> #include <option.h>
#include <types.h>
#include "h8.h" #include "h8.h"
#include "chip.h" #include "chip.h"

View File

@ -20,6 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <delay.h> #include <delay.h>
#include <types.h>
#include "pmh7.h" #include "pmh7.h"
#include "chip.h" #include "chip.h"

View File

@ -18,8 +18,9 @@
#include <console/console.h> #include <console/console.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <arch/early_variables.h> #include <arch/early_variables.h>
#include "hwilib.h" #include <types.h>
#include "hwilib.h"
#define MAX_BLOCK_NUM 4 #define MAX_BLOCK_NUM 4
#define LEN_HIB 0x1fd #define LEN_HIB 0x1fd