aboutsummaryrefslogtreecommitdiffstats
path: root/include/flash.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-11-12 12:00:24 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2022-11-21 04:47:33 +0000
commit7c976e34631ca4ee6345bd109a3d5ae32e9c7246 (patch)
treea1c441e0b711ebaad52454bd30e2d2d58639e231 /include/flash.h
parent347dba5414216cdf09ec6f0f344e4eb5f92ff4c0 (diff)
downloadflashrom-7c976e34631ca4ee6345bd109a3d5ae32e9c7246.tar.gz
flashrom-7c976e34631ca4ee6345bd109a3d5ae32e9c7246.tar.bz2
flashrom-7c976e34631ca4ee6345bd109a3d5ae32e9c7246.zip
flashrom.c: Drop redundant chip read validation in verify_range()
The 'chip_safety_check()' already validates the chip structure within 'prepare_flash_access()' before all subsequent chip operations such as 'verify_range()' and therefore the chip structure is guaranteed to be valid in the domain of those operations. BUG=none BRANCH=none TEST=builds Change-Id: Ifc57dd89715115e03d013691352463a8b3c0dc52 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/69471 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'include/flash.h')
0 files changed, 0 insertions, 0 deletions