diff options
author | Maulik V Vaghela <maulik.v.vaghela@intel.com> | 2020-03-18 16:51:04 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-19 12:02:15 +0000 |
commit | 81877365d5a7d7f839957714c8fbeb9863d6c564 (patch) | |
tree | 9e5255991b7c21cb9eaa24ee752faab8b90c6cd7 /src/soc | |
parent | df248f0c10f77b4de287be7754afadce1abca84c (diff) |
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 <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39630
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/tigerlake/include/soc/meminit_jsl.h | 3 |
1 files changed, 1 insertions, 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 <stddef.h> -#include <stdint.h> +#include <types.h> #include <fsp/soc_binding.h> /* Number of dq bits controlled per dqs */ |