flash: disable all printing. needed because strings can end up in flash.
authorIngo Albrecht <prom@berlin.ccc.de>
Sun, 18 Apr 2010 06:37:04 +0000 (08:37 +0200)
committerIngo Albrecht <prom@berlin.ccc.de>
Tue, 20 Jul 2010 12:41:20 +0000 (14:41 +0200)
src/target/firmware/flash/cfi_flash.c

index e8081b9..0f6fbeb 100644 (file)
 #include <calypso/uart.h>
 #include <comm/sercomm.h>
 
+/* XXX: strings must always be in ram */
+#define puts(...)
+#define printf(...)
+
 /* global definitions */
 #define CFI_FLASH_MAX_ERASE_REGIONS 4