From 62fba42f603a17a399fd71c2c32a459649ae5f28 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Tue, 3 Jun 2003 19:02:16 +0000 Subject: [PATCH] 2003-06-03 Marcel Telka * include/cfi.h (detect_cfi): Macro removed. * src/flash.c (flashcheck): Renamed detect_cfi to cfi_detect. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@470 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/include/cfi.h | 2 -- jtag/src/flash.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 7c6f52ab..529f1fe8 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2003-06-03 Marcel Telka + + * include/cfi.h (detect_cfi): Macro removed. + * src/flash.c (flashcheck): Renamed detect_cfi to cfi_detect. + 2003-06-03 Marcel Telka * src/Makefile.am (jtag_LDADD): Added libbrux twice to resolve dependencies. diff --git a/jtag/include/cfi.h b/jtag/include/cfi.h index 42db3159..2db27732 100644 --- a/jtag/include/cfi.h +++ b/jtag/include/cfi.h @@ -27,6 +27,4 @@ #include -#define detect_cfi cfi_detect - #endif /* CFI_H */ diff --git a/jtag/src/flash.c b/jtag/src/flash.c index c2081c7f..eb9ea65b 100644 --- a/jtag/src/flash.c +++ b/jtag/src/flash.c @@ -86,7 +86,7 @@ flashcheck( bus_t *bus, cfi_array_t **cfi_array ) printf( _("Note: Supported configuration is 2 x 16 bit or 1 x 16 bit only\n") ); *cfi_array = NULL; - if (detect_cfi( bus, 0, cfi_array )) { + if (cfi_detect( bus, 0, cfi_array )) { cfi_array_free( *cfi_array ); printf( _("Flash not found!\n") ); return;