summaryrefslogtreecommitdiffstats
path: root/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
commitad216bf3a023569249069ec6dc5c93fd7bd741d7 (patch)
tree16c12a7c5a25d90047003143a6190a160f0e3e87 /flash.h
parent70ea9a326ac88bfb96f3b064aaa4ed69af902faf (diff)
downloadast2050-flashrom-ad216bf3a023569249069ec6dc5c93fd7bd741d7.zip
ast2050-flashrom-ad216bf3a023569249069ec6dc5c93fd7bd741d7.tar.gz
MAX may already be defined
Also, fix smaller cosmetics Corresponding to flashrom svn r442 and coreboot v2 svn r4205. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/flash.h b/flash.h
index 4888428..59c6c47 100644
--- a/flash.h
+++ b/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;
OpenPOWER on IntegriCloud