aboutsummaryrefslogtreecommitdiff
path: root/src/ecosboard.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-19 09:09:25 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-19 09:09:25 +0000
commit13e592f9f68de793bd6681fc8cb43091031cb7c0 (patch)
treef6dd05d517be4ea2432776c37d99b308052b7979 /src/ecosboard.c
parent333642fcff9901a8f20c02457756ca9715641139 (diff)
downloadriscv-openocd-13e592f9f68de793bd6681fc8cb43091031cb7c0.zip
riscv-openocd-13e592f9f68de793bd6681fc8cb43091031cb7c0.tar.gz
riscv-openocd-13e592f9f68de793bd6681fc8cb43091031cb7c0.tar.bz2
less warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@2291 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/ecosboard.c')
-rw-r--r--src/ecosboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c
index d49abbd..d6bb0a4 100644
--- a/src/ecosboard.c
+++ b/src/ecosboard.c
@@ -148,7 +148,6 @@ void start_profile(void)
}
#endif
-extern int eth0_up;
static FILE *log;
static char reboot_stack[2048];
@@ -305,7 +304,7 @@ void format(void)
err = cyg_io_get_config(handle, CYG_IO_GET_CONFIG_FLASH_ERASE, &e, &len);
if (err != ENOERR)
{
- diag_printf("Flash erase error %d offset 0x%p\n", err, e.err_address);
+ diag_printf("Flash erase error %d offset 0x%08x\n", err, e.err_address);
reboot();
}