mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Small fixes
- missing spaces in code and output - improved documentation/naming/output - missing line breaks in spi probing functions Corresponding to flashrom svn r1321. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
2
flash.h
2
flash.h
@ -136,6 +136,8 @@ struct flashchip {
|
||||
unsigned int size; /* Eraseblock size */
|
||||
unsigned int count; /* Number of contiguous blocks with that size */
|
||||
} eraseblocks[NUM_ERASEREGIONS];
|
||||
/* a block_erase function should try to erase one block of size
|
||||
* 'blocklen' at address 'blockaddr' and return 0 on success. */
|
||||
int (*block_erase) (struct flashchip *flash, unsigned int blockaddr, unsigned int blocklen);
|
||||
} block_erasers[NUM_ERASEFUNCTIONS];
|
||||
|
||||
|
Reference in New Issue
Block a user