coreboot-kgpe-d16/util/amdfwtool
Zheng Bao 9770df1e9d amdfwtool: Check the validation of EFS & body relative address
We need to considering the case the EFS header is given as a relative
address and the other, body location, is given as an absolute one. So
we convert both of them to relative and check the validation.

For relative address case, the location should be between
0 and data size.

Change-Id: I7898bfbca02f5eb1c0fb7c456dc1935bddf685b1
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73024
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
2023-02-28 13:03:46 +00:00
..
.gitignore util/amdfwtool: Add amdfwread utility 2022-05-13 15:51:37 +00:00
amdfwread.c util/amdfwtool/amdfwread: List AMDFW RO binary entries 2022-10-26 15:56:18 +00:00
amdfwtool.c amdfwtool: Check the validation of EFS & body relative address 2023-02-28 13:03:46 +00:00
amdfwtool.h amdfwtool: Move soc_id to cb_config 2023-02-10 12:45:00 +00:00
data_parse.c amdfwtool: Put soc name setting to fw.cfg from command line 2023-02-11 12:58:17 +00:00
description.md
Makefile util/amdfwtool: Generate hashes for signed AMDFW components 2022-10-02 22:13:38 +00:00
Makefile.inc util/amdfwtool: Add build rules for amdfwread 2022-10-26 15:56:37 +00:00