HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43952 )
Change subject: src/ec: Add missing <{stddef,stdint}|types> ......................................................................
src/ec: Add missing <{stddef,stdint}|types>
Include <types.h> when stddef, stdint and stdbool are needed.
Change-Id: I6d8a5d839e9bee1dfdd00f84a403f543af51a382 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/ec/google/chromeec/crosec_proto.c M src/ec/google/chromeec/ec.c M src/ec/google/chromeec/ec_i2c.c M src/ec/google/chromeec/ec_lpc.c M src/ec/google/chromeec/ec_spi.c M src/ec/google/chromeec/vboot_storage.c M src/ec/google/chromeec/vstore.c M src/ec/google/wilco/chip.c M src/ec/google/wilco/commands.c M src/ec/kontron/kempld/kempld_i2c.c M src/ec/lenovo/h8/panic.c M src/ec/lenovo/h8/sense.c 12 files changed, 17 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/43952/1
diff --git a/src/ec/google/chromeec/crosec_proto.c b/src/ec/google/chromeec/crosec_proto.c index e54ad7e..0355fe3 100644 --- a/src/ec/google/chromeec/crosec_proto.c +++ b/src/ec/google/chromeec/crosec_proto.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h> +#include <stddef.h> #include <stdint.h> #include <string.h>
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c index e66e3b1..7cf4300 100644 --- a/src/ec/google/chromeec/ec.c +++ b/src/ec/google/chromeec/ec.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdint.h> #include <string.h> #include <assert.h> #include <console/console.h> @@ -12,6 +11,7 @@ #include <security/vboot/vboot_common.h> #include <stdlib.h> #include <timer.h> +#include <types.h>
#include "ec.h"
diff --git a/src/ec/google/chromeec/ec_i2c.c b/src/ec/google/chromeec/ec_i2c.c index 68e3cf2..ed1440c 100644 --- a/src/ec/google/chromeec/ec_i2c.c +++ b/src/ec/google/chromeec/ec_i2c.c @@ -2,6 +2,7 @@
#include <console/console.h> #include <device/i2c_simple.h> +#include <stddef.h> #include <stdint.h> #include <string.h>
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c index 5306dcc..4ac07a5 100644 --- a/src/ec/google/chromeec/ec_lpc.c +++ b/src/ec/google/chromeec/ec_lpc.c @@ -6,6 +6,7 @@ #include <delay.h> #include <device/pnp.h> #include <ec/google/common/mec.h> +#include <stddef.h> #include <stdint.h>
#include "chip.h" diff --git a/src/ec/google/chromeec/ec_spi.c b/src/ec/google/chromeec/ec_spi.c index ecf1b42..58f88e8 100644 --- a/src/ec/google/chromeec/ec_spi.c +++ b/src/ec/google/chromeec/ec_spi.c @@ -5,6 +5,8 @@ #include "ec.h" #include "ec_commands.h" #include <spi-generic.h> +#include <stddef.h> +#include <stdint.h> #include <timer.h>
static struct stopwatch cs_cooldown_sw; diff --git a/src/ec/google/chromeec/vboot_storage.c b/src/ec/google/chromeec/vboot_storage.c index 4bd2590..edda036 100644 --- a/src/ec/google/chromeec/vboot_storage.c +++ b/src/ec/google/chromeec/vboot_storage.c @@ -3,6 +3,8 @@ #include <assert.h> #include <console/console.h> #include <ec/google/chromeec/ec.h> +#include <stddef.h> +#include <stdint.h> #include <vendorcode/google/chromeos/chromeos.h>
#define VBOOT_HASH_VSLOT 0 diff --git a/src/ec/google/chromeec/vstore.c b/src/ec/google/chromeec/vstore.c index 2a33a3f..8eb540e 100644 --- a/src/ec/google/chromeec/vstore.c +++ b/src/ec/google/chromeec/vstore.c @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
+#include <stddef.h> #include <stdint.h> #include <string.h> #include "ec.h" diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c index dccaa23..6970d23 100644 --- a/src/ec/google/wilco/chip.c +++ b/src/ec/google/wilco/chip.c @@ -11,6 +11,7 @@ #include <ec/acpi/ec.h> #include <intelblocks/cpulib.h> #include <pc80/keyboard.h> +#include <stddef.h> #include <stdint.h>
#include "commands.h" diff --git a/src/ec/google/wilco/commands.c b/src/ec/google/wilco/commands.c index 98b1efb..d596d74 100644 --- a/src/ec/google/wilco/commands.c +++ b/src/ec/google/wilco/commands.c @@ -2,8 +2,8 @@
#include <console/console.h> #include <ec/acpi/ec.h> -#include <stdint.h> #include <string.h> +#include <types.h>
#include "ec.h" #include "commands.h" diff --git a/src/ec/kontron/kempld/kempld_i2c.c b/src/ec/kontron/kempld/kempld_i2c.c index 296cf76..a8385bc 100644 --- a/src/ec/kontron/kempld/kempld_i2c.c +++ b/src/ec/kontron/kempld/kempld_i2c.c @@ -10,6 +10,7 @@ #include <console/console.h> #include <device/device.h> #include <device/i2c_bus.h> +#include <stddef.h> #include <timer.h> #include <delay.h>
diff --git a/src/ec/lenovo/h8/panic.c b/src/ec/lenovo/h8/panic.c index 1bd8d1b..5776f3b 100644 --- a/src/ec/lenovo/h8/panic.c +++ b/src/ec/lenovo/h8/panic.c @@ -1,6 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ + #include <console/console.h> #include <ec/acpi/ec.h> +#include <stddef.h> +#include <stdint.h>
#include "h8.h"
diff --git a/src/ec/lenovo/h8/sense.c b/src/ec/lenovo/h8/sense.c index fc850fb..0740b14 100644 --- a/src/ec/lenovo/h8/sense.c +++ b/src/ec/lenovo/h8/sense.c @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */
#include <ec/acpi/ec.h> +#include <stddef.h> +#include <stdint.h>
#include "h8.h"
HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/43952 )
Change subject: src/ec: Add missing <{stddef,stdint}|types> ......................................................................
Abandoned