diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-15 21:05:37 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-29 20:27:52 +0000 |
commit | bd1683da29d5688f97fcc43bef3e0df74e4196f9 (patch) | |
tree | 0f124f816bcfc3c6a9fe6459a0c5df5997eddd52 /src/device/dram | |
parent | b12ece98b09dd88634d93bcb41ca5c4cb9d86364 (diff) | |
download | coreboot-bd1683da29d5688f97fcc43bef3e0df74e4196f9.tar.xz |
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>
Diffstat (limited to 'src/device/dram')
-rw-r--r-- | src/device/dram/ddr2.c | 1 | ||||
-rw-r--r-- | src/device/dram/ddr3.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/device/dram/ddr2.c b/src/device/dram/ddr2.c index 53106f23f9..60588b880b 100644 --- a/src/device/dram/ddr2.c +++ b/src/device/dram/ddr2.c @@ -26,6 +26,7 @@ #include <device/dram/ddr2.h> #include <lib.h> #include <string.h> +#include <types.h> /*============================================================================== * = DDR2 SPD decoding helpers diff --git a/src/device/dram/ddr3.c b/src/device/dram/ddr3.c index e545b4d036..3272dac6d7 100644 --- a/src/device/dram/ddr3.c +++ b/src/device/dram/ddr3.c @@ -27,6 +27,7 @@ #include <memory_info.h> #include <cbmem.h> #include <smbios.h> +#include <types.h> /*============================================================================== * = DDR3 SPD decoding helpers |