summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-04-24 16:17:41 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-04-24 16:17:41 +0000
commita5de85cb861e1aa4ea429aa5d0fa1dd21e30a611 (patch)
tree371c682867a2e606ecf75d3c75a7bdb88040df59 /util/flashrom/flash.h
parent2895c45486e4f6c99013bf319ff7277e51aad32d (diff)
MAX may already be defined. Also, fix smaller cosmetics (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4205 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r--util/flashrom/flash.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 4888428bc1..59c6c479be 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -512,15 +512,13 @@ typedef enum {
extern flashbus_t flashbus;
extern void *spibar;
-/* debug.c */
-extern int verbose;
-#define printf_debug(x...) { if (verbose) printf(x); }
-
/* physmap.c */
void *physmap(const char *descr, unsigned long phys_addr, size_t len);
void physunmap(void *virt_addr, size_t len);
/* flashrom.c */
+extern int verbose;
+#define printf_debug(x...) { if (verbose) printf(x); }
void map_flash_registers(struct flashchip *flash);
/* layout.c */
@@ -529,7 +527,7 @@ int read_romlayout(char *name);
int find_romentry(char *name);
int handle_romentries(uint8_t *buffer, uint8_t *content);
-/* lbtable.c */
+/* cbtable.c */
int coreboot_init(void);
extern char *lb_part, *lb_vendor;