From 6e2c5a3d18fd7549c3abdf28c5cb5909c13e278a Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Wed, 10 Nov 2021 14:09:06 +0800 Subject: [PATCH] amdfwtool: Set flag comboable as bool type Fix the CL: https://review.coreboot.org/c/coreboot/+/58942 The type comboable was int but set as true. Change-Id: Id2c43378735c089a27a5aa683b55a0f7ec3677de Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/59093 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- util/amdfwtool/amdfwtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 38f0e621a7..2c0b3e2f89 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -1274,7 +1274,7 @@ int main(int argc, char **argv) char *rom = NULL; embedded_firmware *amd_romsig; psp_directory_table *pspdir; - int comboable = 0; + bool comboable = false; int fuse_defined = 0; int targetfd; char *output = NULL, *config = NULL;