ichspi: don't copy flashchip wp field
This code was used when the wp implementation for a chip was determined
by its wp field. This is no longer the case and `struct flashchip` only
contains a wp element so that linux_mtd and cros_ec can override the
default writeprotect implementation.
BUG=b:182223106
BRANCH=none
TEST=builds
Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
Change-Id: I63cc7b08475df31070fe0cd59c7e95fae4e501db
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2882240
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
1 file changed