Changeset 1021 for trunk/flash.h
- Timestamp:
- 05/31/10 00:24:40 (2 years ago)
- File:
-
- 1 edited
-
trunk/flash.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/flash.h
r1016 r1021 25 25 #define __FLASH_H__ 1 26 26 27 #include <unistd.h>28 27 #include <stdint.h> 29 #include <stdio.h>30 28 #include "hwaccess.h" 31 29 #ifdef _WIN32 … … 33 31 #undef min 34 32 #undef max 33 #endif 34 35 #ifndef NULL 36 #define NULL ((void *) 0) 35 37 #endif 36 38 … … 557 559 extern const char *flashrom_version; 558 560 extern char *chip_to_probe; 559 #define printf_debug(x...) { if (verbose) printf(x); }560 561 void map_flash_registers(struct flashchip *flash); 561 562 int read_memmapped(struct flashchip *flash, uint8_t *buf, int start, int len);
Note: See TracChangeset
for help on using the changeset viewer.
