summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-09-16 21:54:12 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-17 20:27:42 +0000
commit5340abcd2f0f7b8daa007f1059d5e3ce1997e9b4 (patch)
tree2957a8ef79fbaf6495426ebc2b4944a9b7c590a4 /src/soc/amd/common
parentdd9edefa15c18e27eb8050f5d929e79bf9bab7e0 (diff)
soc/amd/common/block/pi/image: replace stdbool.h include with types.h
Apart from the bool type, uint8_t, uint32_t and uint64_t are used in this file, so include types.h instead of stdbool.h. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I30088d68132058f40b974fbaa822f322b58ed6c7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57723 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/pi/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/pi/image.c b/src/soc/amd/common/block/pi/image.c
index 3c90d7cb46..03a2a473a0 100644
--- a/src/soc/amd/common/block/pi/image.c
+++ b/src/soc/amd/common/block/pi/image.c
@@ -2,7 +2,7 @@
#include <agesa_headers.h>
#include <amdblocks/image.h>
-#include <stdbool.h>
+#include <types.h>
/* Check if the image has the desired module. */
static bool validate_image(void *module_chain, const char module_signature[8])