commit | e8e6043489ddef7d25596bdfd16a18ac82062f20 | [log] [tgz] |
---|---|---|
author | Zheng Bao <fishbaozi@gmail.com> | Mon May 24 16:11:12 2021 +0800 |
committer | Marshall Dawson <marshalldawson3rd@gmail.com> | Mon Jun 07 17:11:24 2021 +0000 |
tree | 59c6e9da283c8e907fb345d1c7457617c4f8b62c | |
parent | baf54ec272df28d2f0ec6b88cd08b36f3ce1283c [diff] |
amdfwtool: Set the region_type as 0 for entry "BIOS level 2" This region_type is actually not used. But we need to set it explicitly as a known value. We can refer "PSP spec #55758" or the link below: https://doc.coreboot.org/soc/amd/psp_integration.html Change-Id: I8b914f9f02beecce707aba86248826cd9208e6c0 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54871 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 9aed7d0..57424b9 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c
@@ -1044,6 +1044,7 @@ if (biosdir2) { biosdir->entries[count].type = AMD_BIOS_L2_PTR; + biosdir->entries[count].region_type = 0; biosdir->entries[count].size = + MAX_BIOS_ENTRIES * sizeof(bios_directory_entry);