bf533: bring addr/data signal names in line with other blackfin parts

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1848 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 14 years ago
parent 912dc005e5
commit a3215095ec

@ -3,6 +3,7 @@
* data/analog/bf533/bf533: Drop brackets from ADDR and DATA signals to match
the style of all other Blackfin parts.
* src/bus/bf533_stamp.c (bf533_stamp_bus_new): Update signal names.
* src/bus/bf537_stamp.c (bf537_stamp_bus_new): Likewise.
* data/analog/bf548/bf548: Change "PORTX_#" to "PX#" signals to match the
style of all other Blackfin parts.

@ -74,7 +74,7 @@ bf537_stamp_bus_new (urj_chain_t *chain, const urj_bus_driver_t *driver,
{
urj_bus_t *bus;
urj_part_t *part;
char buff[15], buff2[15];
char buff[15];
int i;
int failed = 0;
@ -92,35 +92,13 @@ bf537_stamp_bus_new (urj_chain_t *chain, const urj_bus_driver_t *driver,
for (i = 0; i < 19; i++)
{
sprintf (buff, "ADDR%d", i + 1);
ADDR[i] = urj_part_find_signal (part, buff);
if (!ADDR[i])
{
sprintf (buff2, "ADDR[%d]", i + 1); /* BF533/2/1 uses ADDR[x] instead of ADDRx */
ADDR[i] = urj_part_find_signal (part, buff2);
if (!ADDR[i])
{
urj_error_set (URJ_ERROR_NOTFOUND, "signal '%s' or '%s'",
buff, buff2);
failed |= URJ_STATUS_FAIL;
}
}
failed |= urj_bus_generic_attach_sig (part, &(ADDR[i]), buff);
}
for (i = 0; i < 16; i++)
{
sprintf (buff, "DATA%d", i);
DATA[i] = urj_part_find_signal (part, buff);
if (!DATA[i])
{
sprintf (buff2, "DATA[%d]", i); /* BF533/2/1 uses DATA[x] instead of DATAx */
DATA[i] = urj_part_find_signal (part, buff2);
if (!DATA[i])
{
urj_error_set (URJ_ERROR_NOTFOUND, "signal '%s' or '%s'",
buff, buff2);
failed |= URJ_STATUS_FAIL;
}
}
failed |= urj_bus_generic_attach_sig (part, &(DATA[i]), buff);
}
failed |= urj_bus_generic_attach_sig (part, &(AWE), "AWE_B");

Loading…
Cancel
Save