summaryrefslogtreecommitdiff
path: root/util/amdfwtool
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-10-08 11:53:13 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-11 14:45:09 +0000
commitee0f5d794de83093bba433b10a4c403eb0773ad7 (patch)
treecfbf563a44f238aaf1ff10159da89dfc948f498e /util/amdfwtool
parentaafbe136a96b69b5d2ee021e9253a672dad51b5c (diff)
util/amdfwread: Fix cookie error message
Change-Id: I580675fcbf8c5058ade371c6b9edb7b7070a78a3 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68234 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'util/amdfwtool')
-rw-r--r--util/amdfwtool/amdfwread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwread.c b/util/amdfwtool/amdfwread.c
index c9da3d883d..d6dc1e2c43 100644
--- a/util/amdfwtool/amdfwread.c
+++ b/util/amdfwtool/amdfwread.c
@@ -82,7 +82,7 @@ static int read_psp_directory(FILE *fw, uint32_t offset, uint32_t expected_cooki
/* Ensure that we have a PSP directory */
if (header->cookie != expected_cookie) {
ERR("Invalid PSP header cookie value found: 0x%x, expected: 0x%x\n",
- expected_cookie, header->cookie);
+ header->cookie, expected_cookie);
return 1;
}