mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
Add voltage ranges to the flashchips
Corresponding to flashrom svn r1323. Signed-off-by: Steven Zakulec <spzakulec@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
parent
db45ab5eac
commit
cbe370e67a
4
flash.h
4
flash.h
@ -145,6 +145,10 @@ struct flashchip {
|
||||
int (*unlock) (struct flashchip *flash);
|
||||
int (*write) (struct flashchip *flash, uint8_t *buf, int start, int len);
|
||||
int (*read) (struct flashchip *flash, uint8_t *buf, int start, int len);
|
||||
struct {
|
||||
uint16_t min;
|
||||
uint16_t max;
|
||||
} voltage;
|
||||
|
||||
/* Some flash devices have an additional register space. */
|
||||
chipaddr virtual_memory;
|
||||
|
236
flashchips.c
236
flashchips.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user