flash: Add wrea_override support to flashchip struct

This aligns our 'flashchip' structure to almost exactly the
upstream implementation. This is a partial port of the upstream
`commit 57dbd64b33` just without the 'Spansion 25FL256S......0'
support part in flashchips.c since we plan to align that later.

BUG=chromium:478356
BRANCH=none
TEST=still builds

Change-Id: I75d6b49ec323a194e7ce5efd43c30cab125f8bc0
Signed-off-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/1677958
Reviewed-by: Stuart Langley <slangley@chromium.org>
2 files changed