projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605b9ea
)
flash: disable all printing. needed because strings can end up in flash.
author
Ingo Albrecht
<prom@berlin.ccc.de>
Sun, 18 Apr 2010 06:37:04 +0000
(08:37 +0200)
committer
Ingo Albrecht
<prom@berlin.ccc.de>
Tue, 20 Jul 2010 12:41:20 +0000
(14:41 +0200)
src/target/firmware/flash/cfi_flash.c
patch
|
blob
|
history
diff --git
a/src/target/firmware/flash/cfi_flash.c
b/src/target/firmware/flash/cfi_flash.c
index
e8081b9
..
0f6fbeb
100644
(file)
--- a/
src/target/firmware/flash/cfi_flash.c
+++ b/
src/target/firmware/flash/cfi_flash.c
@@
-33,6
+33,10
@@
#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