summaryrefslogtreecommitdiffstats
path: root/spi.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-05-14 15:13:22 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2020-08-26 08:34:01 +0000
commita2dc4f7fafaa5ef41510e6cbcd2cdd140c94e356 (patch)
tree7abdf1e0fd113ec756c9c652e75a1d7690530b6b /spi.h
parent8f18e811e584507a9ba664f6d5d483a0408729b4 (diff)
downloadflashrom-a2dc4f7fafaa5ef41510e6cbcd2cdd140c94e356.tar.gz
flashrom-a2dc4f7fafaa5ef41510e6cbcd2cdd140c94e356.tar.bz2
flashrom-a2dc4f7fafaa5ef41510e6cbcd2cdd140c94e356.zip
spi25.c: Factor out rdid_get_ids() and compare_id()
This is in preparation for implementing a cache for the probe results of RDID and REMS (3&4-byte variant) commands. The intention is to make probing of SPI rom's slightly faster, a few 10's of ms dependant upon the spi master used. BUG=b:15656443 BRANCH=none TEST=builds Change-Id: I1556e97a7c70425069e3d1dc0d5daf0aeec4e7bf Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/41398 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'spi.h')
0 files changed, 0 insertions, 0 deletions