From a6d96480176417478350e97338451554b5450cba Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Wed, 26 Dec 2012 19:51:23 +0000 Subject: Add general programmer sanity checks And remove the completely unused vendor field. Corresponding to flashrom svn r1630. Signed-off-by: Stefan Tauner Acked-by: Carl-Daniel Hailfinger --- programmer.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'programmer.h') diff --git a/programmer.h b/programmer.h index dedec670..1510e2fb 100644 --- a/programmer.h +++ b/programmer.h @@ -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); -- cgit v1.2.3