amdfwtool: Change the flag value to type bool

Change-Id: I8bb87e6b16b323b26dd5b411e0063e2e9e333d05
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58942
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Zheng Bao
2021-11-04 18:56:47 +08:00
committed by Patrick Georgi
parent edd1e360f4
commit ba3af5e2ff
3 changed files with 33 additions and 33 deletions

View File

@@ -4,6 +4,7 @@
#define _AMD_FW_TOOL_H_
#include <stdint.h>
#include <stdbool.h>
typedef enum _amd_fw_type {
AMD_FW_PSP_PUBKEY = 0,
@@ -220,12 +221,12 @@ typedef struct _amd_fw_entry {
} amd_fw_entry;
typedef struct _amd_cb_config {
uint8_t have_whitelist;
uint8_t unlock_secure;
uint8_t use_secureos;
uint8_t load_mp2_fw;
uint8_t multi_level;
uint8_t s0i3;
bool have_whitelist;
bool unlock_secure;
bool use_secureos;
bool load_mp2_fw;
bool multi_level;
bool s0i3;
} amd_cb_config;
void register_fw_fuse(char *str);