diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-02-21 18:30:51 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-02-23 15:02:57 +0100 |
commit | 6292304120a2c841c521362bd1788bb696aefb86 (patch) | |
tree | d7238e9811d06ca2c7412cafc9e9b9a4a4f1dfc0 /src/target/firmware | |
parent | eb5248fffece98a1002b24d9565c3c7dcd8909cb (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.c | 3 |
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; |