writeprotect.c: merge range tables: move Eon ranges
Merge generic_range_table() and w25_range_table(). Both functions handle
each chip as a separate case already, so they can easily be unified,
reducing complexity associated with choosing the right range table
function for a specific chip.
Now that generic_range_table and w25_range_table() function signatures
match we can start merging them.
Both functions contain a large number of ranges, so merge them
incrementally: this patch only moves ranges for Eon chips from
w25_range_table() into generic_range_table().
BUG=b:182223106
TEST=builds
BRANCH=none
Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
Change-Id: I4a0626cc3ff09b6a8ec32db3c20b820640f4c3cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2816712
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
1 file changed