From 3e93685412dc2b40516b9300c6825cdac3912783 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Fri, 14 Feb 2003 08:54:39 +0000 Subject: [PATCH] 2003-02-14 Marcel Telka * src/ixp425.c (setup_address): Removed set_gpio() call. (set_gpio): Removed unused function. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@347 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/src/ixp425.c | 14 -------------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 1b862348..6625b612 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2003-02-14 Marcel Telka + + * src/ixp425.c (setup_address): Removed set_gpio() call. + (set_gpio): Removed unused function. + 2003-02-13 Marcel Telka * src/ixp425.c: Added bus driver for Intel IXP425 (Christian Pellegrin). diff --git a/jtag/src/ixp425.c b/jtag/src/ixp425.c index 886c8cd1..00ae3174 100644 --- a/jtag/src/ixp425.c +++ b/jtag/src/ixp425.c @@ -55,26 +55,12 @@ unselect_flash( part *p) part_set_signal( p, "EX_CS[7]", 1, 1 ); } -static void -set_gpio( part *p, uint32_t a ) -{ - int i; - char buff[10]; - - for (i = 1; i < 16; i++) { - sprintf( buff, "GPIO[%d]", i ); - part_set_signal( p, buff, 1, ( (a >> i) & 1 ) ^ 1 ); - } -} - static void setup_address( part *p, uint32_t a ) { int i; char buff[15]; - set_gpio( p, a ); - for (i = 0; i < 24; i++) { sprintf( buff, "EX_ADDR[%d]", i ); part_set_signal( p, buff, 1, (a >> i) & 1 );