commit | 4a55e6885816aa2a45314975686356ce282cae5c | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <quasisec@chromium.org> | Tue Nov 26 23:28:05 2019 +1100 |
committer | Edward O'Callaghan <quasisec@chromium.org> | Thu Nov 28 10:00:11 2019 +0000 |
tree | e689df39d5b23b188196c98fa5feb4ad5b85afee | |
parent | 61e16e549a52194ac80ef40504f2dc661d1ff99c [diff] |
cbtable.c: Factor out lb_header_validation logic Write a pure function for the header validation logic, it is easier to unit-test. Change-Id: Ia288bcbc5c371329952a6efba30ccf0e18965a3d Signed-off-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/37238 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>