diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-10-08 22:30:25 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-10-22 00:45:03 +0000 |
commit | 759a0566733b3d8d64de3534140ba05a40bc4bd5 (patch) | |
tree | 3a476d3e2e8e055b9364ada77e96de2ceacd2ebf /usbdev.c | |
parent | 1837f0df2798b2fc6f953853976c622c8e26637b (diff) | |
download | flashrom-759a0566733b3d8d64de3534140ba05a40bc4bd5.tar.gz flashrom-759a0566733b3d8d64de3534140ba05a40bc4bd5.tar.bz2 flashrom-759a0566733b3d8d64de3534140ba05a40bc4bd5.zip |
rayer_spi.c: Roll up programmer type search logic into func
Roll up the programmer type table search and match logic into
it's own function and lexically scope the 'rayer_spi_types'
table into the function while we are here.
Change-Id: Id226ea61132ecc30fd8696e1d8ea50373e752cac
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/68238
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'usbdev.c')
0 files changed, 0 insertions, 0 deletions