diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2022-11-14 12:04:19 +1100 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-11-21 01:27:03 +0000 |
commit | 347dba5414216cdf09ec6f0f344e4eb5f92ff4c0 (patch) | |
tree | a05c4fd07afafa29cf537a48b8d994b3d7470cda /atahpt.c | |
parent | 98aa49b495c4c86d10a067a4b50a406a9057aea2 (diff) | |
download | flashrom-347dba5414216cdf09ec6f0f344e4eb5f92ff4c0.tar.gz flashrom-347dba5414216cdf09ec6f0f344e4eb5f92ff4c0.tar.bz2 flashrom-347dba5414216cdf09ec6f0f344e4eb5f92ff4c0.zip |
linux_mtd: Mark Opaque chip as tested for WP
Since linux_mtd supports write-protect, its probe function needs
to mark Opaque chip as tested for WP. Programmers which are
opaque masters are responsible for populating flashchip#tested
struct in probe function.
Without the patch, any operation running via linux_mtd displays
a message "This flash part has status UNTESTED for operations: WP".
With the patch, the message is not displayed anymore.
BUG=b:258755442
BRANCH=none
TEST=flashrom -p host on ARM dut
Found Programmer flash chip "Opaque flash chip"
(8192 kB, Programmer-specific) on host.
No operations were specified.
Change-Id: Icc0521c28555a93f26ce66bdbeaa68590f10c358
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/69518
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Diffstat (limited to 'atahpt.c')
0 files changed, 0 insertions, 0 deletions