From 0160320060cab521f66ea100d67a31b0b906d35f Mon Sep 17 00:00:00 2001 From: ntfreak Date: Wed, 9 Jan 2008 15:58:01 +0000 Subject: - rename flash_init and flash_erase to flash_init_drivers and flash_erase_address_range - stops conflicts with redboot. Thanks Øyvind Harboe - gdb connection not dropped if we fail to allocate memory in query packets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.berlios.de/openocd/trunk@249 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/openocd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openocd.c') diff --git a/src/openocd.c b/src/openocd.c index 2362e60f..92305fb7 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; DEBUG("target init complete"); - if (flash_init(cmd_ctx) != ERROR_OK) + if (flash_init_drivers(cmd_ctx) != ERROR_OK) return EXIT_FAILURE; DEBUG("flash init complete"); -- cgit v1.2.3