From 81877365d5a7d7f839957714c8fbeb9863d6c564 Mon Sep 17 00:00:00 2001 From: Maulik V Vaghela Date: Wed, 18 Mar 2020 16:51:04 +0530 Subject: [PATCH] soc/intel/tigerlake: Update header to avoid compilation issue We were including stddefs.h and stdint.h but compilation fails when we use 'bool' type in file. Removing stddef.h and stdint.h and including 'types.h' which includes all data types BUG=None BRANCH=None TEST=Check if compilation passes when bool is used Change-Id: I4c9001f729f3103deba9d1fd631a8942c23276ee Signed-off-by: Maulik V Vaghela Reviewed-on: https://review.coreboot.org/c/coreboot/+/39630 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Ronak Kanabar Reviewed-by: Patrick Georgi Reviewed-by: Aamir Bohra --- src/soc/intel/tigerlake/include/soc/meminit_jsl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/intel/tigerlake/include/soc/meminit_jsl.h b/src/soc/intel/tigerlake/include/soc/meminit_jsl.h index 7f860ede52..b828ae1cdf 100644 --- a/src/soc/intel/tigerlake/include/soc/meminit_jsl.h +++ b/src/soc/intel/tigerlake/include/soc/meminit_jsl.h @@ -15,8 +15,7 @@ #ifndef _SOC_JASPERLAKE_MEMCFG_INIT_H_ #define _SOC_JASPERLAKE_MEMCFG_INIT_H_ -#include -#include +#include #include /* Number of dq bits controlled per dqs */