commit | 1d80d645875cde4aa1ea17bd1d166619bed09682 | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <quasisec@chromium.org> | Tue Nov 26 23:31:06 2019 +1100 |
committer | Edward O'Callaghan <quasisec@chromium.org> | Thu Nov 28 10:00:21 2019 +0000 |
tree | f40bdbc0af4782ffc5c91fb0b7b986268d3bca2b | |
parent | 4a55e6885816aa2a45314975686356ce282cae5c [diff] |
cbtable.c: Factor out lb_table_validation logic Write a pure function for the table validation logic, it is easier to unit-test. Change-Id: I07b0f95ec0443fa6a8f54eb93f4a7ea1875cccad Signed-off-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/37239 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>