flashrom.c: Make write granularity a chip attribute

Aligns most with the upstream `commit 50d67aaa794`. Since
`write_gran_256bytes = 0` this should be a nop provided
chips structs are zero initialized for which they are.

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

Change-Id: If3a0b3cca8843178ae2c3355a06409bda07f17df
Signed-off-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/1667510
Reviewed-by: Stefan Reinauer <reinauer@google.com>
2 files changed