1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-06-30 21:52:36 +02:00

Make write granularity a chip attribute

Corresponding to flashrom svn r1651.

Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Stefan Tauner
2013-03-03 23:49:48 +00:00
parent 352e50b79e
commit 50d67aaa79
2 changed files with 3 additions and 3 deletions

View File

@ -68,9 +68,9 @@ enum chipbustype {
* - 256 bytes: If less than 256 bytes are written, the contents of the unwritten bytes are undefined.
*/
enum write_granularity {
write_gran_256bytes = 0, /* We assume 256 byte granularity by default. */
write_gran_1bit,
write_gran_1byte,
write_gran_256bytes,
};
/*
@ -162,6 +162,7 @@ struct flashchip {
uint16_t min;
uint16_t max;
} voltage;
enum write_granularity gran;
};
struct flashctx {