diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2023-02-14 13:23:35 +0800 |
---|---|---|
committer | Fred Reitberger <reitbergerfred@gmail.com> | 2023-02-28 13:03:46 +0000 |
commit | 9770df1e9dfff99f8e764a56e6f603d4266edfb7 (patch) | |
tree | da64670cd7ef7b855604b704f94896d62804cdb6 /src/mainboard/system76/adl-p | |
parent | da43c41f98dc38446e9c3726b54c84cdff8af374 (diff) |
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>
Diffstat (limited to 'src/mainboard/system76/adl-p')
0 files changed, 0 insertions, 0 deletions