summaryrefslogtreecommitdiffstats
path: root/src/target/firmware
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-02-21 18:30:51 +0100
committerHarald Welte <laforge@gnumonks.org>2010-02-23 15:02:57 +0100
commit6292304120a2c841c521362bd1788bb696aefb86 (patch)
treed7238e9811d06ca2c7412cafc9e9b9a4a4f1dfc0 /src/target/firmware
parenteb5248fffece98a1002b24d9565c3c7dcd8909cb (diff)
cfi_flash: Make the init message a debug output
Most likely console isn't even up so it doesn't print correctly anyway. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware')
-rw-r--r--src/target/firmware/flash/cfi_flash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/firmware/flash/cfi_flash.c b/src/target/firmware/flash/cfi_flash.c
index faf44cbe..a269142f 100644
--- a/src/target/firmware/flash/cfi_flash.c
+++ b/src/target/firmware/flash/cfi_flash.c
@@ -20,6 +20,7 @@
*
*/
+#include <debug.h>
#include <stdio.h>
#include <stdint.h>
#include <memory.h>
@@ -397,7 +398,7 @@ void flash_dump_info(cfi_flash_t *flash) {
}
void flash_init(cfi_flash_t *flash, void *base_addr) {
- printf("Initializing CFI flash at 0x%p\n", base_addr);
+ printd("Initializing CFI flash at 0x%p\n", base_addr);
flash->f_base = base_addr;