Revision 001faf32 hw/pflash_cfi02.c
b/hw/pflash_cfi02.c | ||
---|---|---|
43 | 43 |
|
44 | 44 |
//#define PFLASH_DEBUG |
45 | 45 |
#ifdef PFLASH_DEBUG |
46 |
#define DPRINTF(fmt, args...) \
|
|
46 |
#define DPRINTF(fmt, ...) \
|
|
47 | 47 |
do { \ |
48 |
printf("PFLASH: " fmt , ##args); \
|
|
48 |
printf("PFLASH: " fmt , ## __VA_ARGS__); \
|
|
49 | 49 |
} while (0) |
50 | 50 |
#else |
51 |
#define DPRINTF(fmt, args...) do { } while (0)
|
|
51 |
#define DPRINTF(fmt, ...) do { } while (0) |
|
52 | 52 |
#endif |
53 | 53 |
|
54 | 54 |
struct pflash_t { |
Also available in: Unified diff