summaryrefslogtreecommitdiff
path: root/util/amdfwtool
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-11-10 14:09:06 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-11-18 23:28:59 +0000
commit6e2c5a3d18fd7549c3abdf28c5cb5909c13e278a (patch)
treeb8088184754fe7c68a945fcefee016721311e9cd /util/amdfwtool
parentb749d3f0d2ae97125375e3cb59356652c7fe2e03 (diff)
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 <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59093 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/amdfwtool')
-rw-r--r--util/amdfwtool/amdfwtool.c2
1 files changed, 1 insertions, 1 deletions
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;