diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2021-06-15 14:41:37 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-08 18:52:00 +0000 |
commit | ec5a5d7abf32230450265d20857261b049fef2d5 (patch) | |
tree | ebe34e3c559d6e8ef0d44592f409482833b28062 /util/amdfwtool/amdfwtool.c | |
parent | 0fc87e31e0b9ad15dd199fe96189a2ade6abf240 (diff) |
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>
Diffstat (limited to 'util/amdfwtool/amdfwtool.c')
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 9299aecec6..b4d1c0c5c6 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -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)) { |