diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2021-05-24 16:11:12 +0800 |
---|---|---|
committer | Marshall Dawson <marshalldawson3rd@gmail.com> | 2021-06-07 17:11:24 +0000 |
commit | e8e6043489ddef7d25596bdfd16a18ac82062f20 (patch) | |
tree | 59c6e9da283c8e907fb345d1c7457617c4f8b62c /util | |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 9aed7d008d..57424b985a 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -1044,6 +1044,7 @@ static void integrate_bios_firmwares(context *ctx, 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); |