mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +02:00
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>
This commit is contained in:
@ -242,7 +242,9 @@ int erase_flash(struct flashchip *flash)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
#endif
|
||||
#define POS_PRINT(x) do { pos += strlen(x); printf(x); } while (0)
|
||||
|
||||
void print_supported_chips(void)
|
||||
|
Reference in New Issue
Block a user