commit | e28d75ed7204d7fac2c0fac13978098530b0574e | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <quasisec@chromium.org> | Wed Nov 27 16:44:19 2019 +1100 |
committer | Edward O'Callaghan <quasisec@chromium.org> | Thu Nov 28 14:00:52 2019 +0000 |
tree | 324401adc58b52b390684e05be4c96f79f51c236 | |
parent | 1d80d645875cde4aa1ea17bd1d166619bed09682 [diff] |
pcidev.c: Factor out pcidev_validate() into pure fn This makes writing unit-tests easier. Change-Id: Ia2718f1f40851d3122741cd0e50b0c2b647b727a Signed-off-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/37264 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>