mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Add general programmer sanity checks
And remove the completely unused vendor field. Corresponding to flashrom svn r1630. 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:
@ -91,13 +91,11 @@ enum programmer {
|
||||
};
|
||||
|
||||
struct programmer_entry {
|
||||
const char *vendor;
|
||||
const char *name;
|
||||
|
||||
int (*init) (void);
|
||||
|
||||
void *(*map_flash_region) (const char *descr, unsigned long phys_addr,
|
||||
size_t len);
|
||||
void *(*map_flash_region) (const char *descr, unsigned long phys_addr, size_t len);
|
||||
void (*unmap_flash_region) (void *virt_addr, size_t len);
|
||||
|
||||
void (*delay) (int usecs);
|
||||
|
Reference in New Issue
Block a user