aboutsummaryrefslogtreecommitdiffstats
path: root/ft2232_spi.c
diff options
context:
space:
mode:
authorNikolai Artemiev <nartemiev@google.com>2022-12-09 15:17:05 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2022-12-18 00:28:33 +0000
commit23018faa986c6a65ad491a771bb2716e0e87ae74 (patch)
tree42999bb39d511162a0b4faa842c3ce02dc2ce345 /ft2232_spi.c
parenta018234400faf1b50b0628a7fa7ea3da26beacbb (diff)
downloadflashrom-23018faa986c6a65ad491a771bb2716e0e87ae74.tar.gz
flashrom-23018faa986c6a65ad491a771bb2716e0e87ae74.tar.bz2
flashrom-23018faa986c6a65ad491a771bb2716e0e87ae74.zip
flashrom: Check for flash access restricitons in read_flash()
Skip read-protected regions if FLASHROM_FLAG_SKIP_UNREADABLE_REGIONS is true. If the flag is false, read operations that include an read-protected region will return an error. BUG=b:260440773 BRANCH=none TEST=flashrom -r on dedede (JSL) Change-Id: I22c795d7d08ef8bf773733d9952967b2fa2ef299 CoAuthored-by: Edward O'Callaghan <quasisec@google.com> Signed-off-by: Edward O'Callaghan <quasisec@google.com> Signed-off-by: Nikolai Artemiev <nartemiev@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/70514 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'ft2232_spi.c')
0 files changed, 0 insertions, 0 deletions