diff options
author | Frans Hendriks <fhendriks@eltan.com> | 2019-10-04 14:06:33 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-10-04 16:24:44 +0000 |
commit | b71181adc336625ee6ecae7a46c6926cb7c3c28c (patch) | |
tree | af9e27d8c1a8bd47cbd8ef6b859ce9eacebb662b /3rdparty/opensbi | |
parent | 9d68cb214488b4f3f7f2bd74c30d674318db4252 (diff) |
device/pci_device.c: Use verified boot to check oprom
Before oprom is executed, no check is performed if rom passes verification.
Add call to verified_boot_should_run_oprom() to verify the oprom.
verified_boot_should_run_oprom() expects and rom address as input pointer.
*rom is added as input parameter to should_run_oprom() which must be parsed
to verified_boot_should_run_oprom()..
BUG=N/A
TEST=Created verified binary and verify logging on Facebook FBG1701
Change-Id: Iec5092e85d34940ea3a3bb1192ea49f3bc3e5b27
Signed-off-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/30810
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to '3rdparty/opensbi')
0 files changed, 0 insertions, 0 deletions