Make struct flashchip a field in struct flashctx instead of a complete copy

All the driver conversion work and cleanup has been done by Stefan.
flashrom.c and cli_classic.c are a joint work of Stefan and Carl-Daniel.

Corresponding to flashrom svn r1579.

Signed-off-by: Carl-Daniel Hailfinger <>
Signed-off-by: Stefan Tauner <>
Acked-by: Stefan Tauner <>
Acked-by: Carl-Daniel Hailfinger <>
23 files changed