amdfwtool: Fix the NULL pointer in parameters

Change-Id: Ia2c65013d48fc1ad88d3caf6ef59824745c992de
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55550
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Zheng Bao 2021-06-15 14:41:37 +08:00 committed by Felix Held
parent 0fc87e31e0
commit ec5a5d7abf
1 changed files with 1 additions and 1 deletions

View File

@ -1597,7 +1597,7 @@ int main(int argc, char **argv)
combo_dir->entries[0].lvl2_addr = BUFF_TO_RUN(ctx, pspdir);
combo_dir->header.lookup = 1;
fill_dir_header(combo_dir, 1, PSP2_COOKIE, NULL);
fill_dir_header(combo_dir, 1, PSP2_COOKIE, &ctx);
#endif
if (have_bios_tables(amd_bios_table)) {