Changeset 1475 for trunk/flash.h
- Timestamp:
- Dec 20, 2011 1:19:29 AM (17 months ago)
- File:
-
- 1 edited
-
trunk/flash.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/flash.h
r1474 r1475 172 172 /* Some flash devices have an additional register space. */ 173 173 chipaddr virtual_registers; 174 struct registered_programmer *pgm; 174 175 }; 175 176 … … 225 226 write_gran_256bytes, 226 227 }; 227 extern enum chipbustype buses_supported;228 228 extern int verbose; 229 229 extern const char flashrom_version[]; … … 232 232 int read_memmapped(struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len); 233 233 int erase_flash(struct flashctx *flash); 234 int probe_flash( int startchip, struct flashctx *fill_flash, int force);234 int probe_flash(struct registered_programmer *pgm, int startchip, struct flashctx *fill_flash, int force); 235 235 int read_flash_to_file(struct flashctx *flash, const char *filename); 236 236 int min(int a, int b); … … 257 257 /* Something happened that shouldn't happen, we'll abort. */ 258 258 #define ERROR_FATAL -0xee 259 #define ERROR_FLASHROM_BUG -200 260 /* We reached one of the hardcoded limits of flashrom. This can be fixed by 261 * increasing the limit of a compile-time allocation or by switching to dynamic 262 * allocation. 263 * Note: If this warning is triggered, check first for runaway registrations. 264 */ 265 #define ERROR_FLASHROM_LIMIT -201 259 266 260 267 /* cli_output.c */ … … 298 305 uint32_t spi_get_valid_read_addr(struct flashctx *flash); 299 306 307 enum chipbustype get_buses_supported(void); 300 308 #endif /* !__FLASH_H__ */
Note: See TracChangeset
for help on using the changeset viewer.
