Skip to content
Snippets Groups Projects
Commit 4a55e688 authored by Edward O'Callaghan's avatar Edward O'Callaghan
Browse files

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: default avatarEdward O'Callaghan <quasisec@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/37238


Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: default avatarStefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: default avatarArthur Heymans <arthur@aheymans.xyz>
parent 61e16e54
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment