From a02411a15f24a9e1f0ac893e631c6a520adfdab8 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Wed, 21 Oct 2009 12:02:04 +0200 Subject: eCos synthetic target updates. --- src/ecosboard.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ecosboard.c') diff --git a/src/ecosboard.c b/src/ecosboard.c index b537e5bc..4af38e85 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -328,6 +328,7 @@ void openocd_sleep_postlude(void) void format(void) { +#ifdef CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 diag_printf("Formatting JFFS2...\n"); cyg_io_handle_t handle; @@ -365,6 +366,7 @@ void format(void) } diag_printf("Flash formatted successfully\n"); +#endif reboot(); } -- cgit v1.2.3