diff options
author | Fred Reitberger <reitbergerfred@gmail.com> | 2022-09-01 15:52:10 -0400 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-09-07 22:25:10 +0000 |
commit | 6ac0534bbe4b6287e5a1e6e5fb394474a7d5632a (patch) | |
tree | 93277cd580d0d49b2a20f27e910513b3f06a41d7 /src/soc/rockchip/common/vop.c | |
parent | 2a099f160d0a50b7d342d8bd258438483c26d575 (diff) |
soc/amd/common/block/apob: Add hashed APOB support
Comparing the APOB in RAM to flash takes a significant amount of time
(~11ms). Instead of comparing the entire APOB, use a fast hash function
and compare just that. Reading, hashing, and comparing the hash take
~70 microseconds.
BUG=b:193557430
TEST=compile and boot to OS in chausie with and without this option set
Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Change-Id: I241968b115aaf41af63445410660bdd5199ceaba
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67301
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/rockchip/common/vop.c')
0 files changed, 0 insertions, 0 deletions