2003-02-14 Marcel Telka <marcel@telka.sk>

* 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
master
Marcel Telka 22 years ago
parent 0d2e777f0a
commit 3e93685412

@ -1,3 +1,8 @@
2003-02-14 Marcel Telka <marcel@telka.sk>
* src/ixp425.c (setup_address): Removed set_gpio() call.
(set_gpio): Removed unused function.
2003-02-13 Marcel Telka <marcel@telka.sk>
* src/ixp425.c: Added bus driver for Intel IXP425 (Christian Pellegrin).

@ -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 );

Loading…
Cancel
Save