amdfwtool: Use command line option use-combo to decide if use combo

The macro PSP_COMBO is removed and instead use the flag use_combo. As
long as this flag is false, the amdfwtool behaves the same way as the
macro does.

Change-Id: Ief0d78ae1e94b8183d6cf3195935ff9774fee426
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55455
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-10 12:21:46 +08:00
committed by Felix Held
parent 96a3371a72
commit 993b43f2be
2 changed files with 18 additions and 13 deletions

View File

@@ -281,6 +281,7 @@ typedef struct _amd_cb_config {
bool recovery_ab;
bool recovery_ab_single_copy;
bool need_ish;
bool use_combo;
} amd_cb_config;
void register_fw_fuse(char *str);