util/amdfwtool: Add support for PSP NVRAM base addr and size

Add parameters to support adding the location and size of
the PSP NVRAM area to the PSP directory table.

Verified this change on PCO based Bilby platform.
Change-Id: I1664893db6f6dcdc588aeaf9448c2d81390af5fa
Signed-off-by: Ritul Guru <ritul.bits@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67137
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Ritul Guru
2022-08-29 00:51:08 +05:30
committed by Felix Held
parent 6f95cb50c5
commit a2cb3400a6
2 changed files with 75 additions and 29 deletions

View File

@@ -276,6 +276,8 @@ typedef struct _amd_fw_entry {
amd_fw_type type;
char *filename;
uint8_t subprog;
uint64_t dest;
size_t size;
int level;
uint64_t other;
} amd_fw_entry;