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>
This commit is contained in:
Arthur Heymans 2022-10-08 11:53:13 +02:00 committed by Felix Held
parent aafbe136a9
commit ee0f5d794d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}