From 5440ab20991b6775520670f8ebbd740997975534 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Tue, 6 Nov 2007 21:39:31 +0000 Subject: [PATCH] some more fixes, eg. ppc405 support patch still wasn't completely applied git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@718 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/bus/Makefile.am | 1 + jtag/src/bus/au1500.c | 3 ++- jtag/src/bus/bcm1250.c | 3 ++- jtag/src/bus/buses.c | 1 + jtag/src/bus/buses.h | 1 + jtag/src/bus/jopcyc.c | 3 ++- jtag/src/bus/lh7a400.c | 3 ++- jtag/src/bus/mpc5200.c | 3 ++- jtag/src/bus/ppc440gx_ebc8.c | 2 +- jtag/src/bus/slsup3.c | 5 +++-- jtag/src/bus/tx4925.c | 3 ++- 11 files changed, 19 insertions(+), 9 deletions(-) diff --git a/jtag/src/bus/Makefile.am b/jtag/src/bus/Makefile.am index 2f6fe51b..41900a9f 100644 --- a/jtag/src/bus/Makefile.am +++ b/jtag/src/bus/Makefile.am @@ -37,6 +37,7 @@ libbus_a_SOURCES = \ mpc824x.c \ mpc5200.c \ ppc440gx_ebc8.c \ + ppc440ep.c \ pxa2x0.c \ sa1110.c \ s3c4510x.c \ diff --git a/jtag/src/bus/au1500.c b/jtag/src/bus/au1500.c index df443cf9..cb9b1de7 100644 --- a/jtag/src/bus/au1500.c +++ b/jtag/src/bus/au1500.c @@ -329,6 +329,7 @@ const bus_driver_t au1500_bus = { au1500_bus_read_next, au1500_bus_read_end, au1500_bus_read, - au1500_bus_write + au1500_bus_write, + NULL }; diff --git a/jtag/src/bus/bcm1250.c b/jtag/src/bus/bcm1250.c index 41520436..c465e56b 100644 --- a/jtag/src/bus/bcm1250.c +++ b/jtag/src/bus/bcm1250.c @@ -282,7 +282,8 @@ const bus_driver_t bcm1250_bus = { bcm1250_bus_read_next, bcm1250_bus_read_end, bcm1250_bus_read, - bcm1250_bus_write + bcm1250_bus_write, + NULL }; static bus_t * diff --git a/jtag/src/bus/buses.c b/jtag/src/bus/buses.c index 2af5a9eb..40ed75c7 100644 --- a/jtag/src/bus/buses.c +++ b/jtag/src/bus/buses.c @@ -39,6 +39,7 @@ const bus_driver_t *bus_drivers[] = { &mpc824x_bus, &mpc5200_bus, &ppc440gx_ebc8_bus, + &ppc405ep_bus, &pxa2x0_bus, &pxa27x_bus, &s3c4510_bus, diff --git a/jtag/src/bus/buses.h b/jtag/src/bus/buses.h index a8b0f4a4..5be0795a 100644 --- a/jtag/src/bus/buses.h +++ b/jtag/src/bus/buses.h @@ -34,6 +34,7 @@ extern const bus_driver_t lh7a400_bus; extern const bus_driver_t mpc824x_bus; extern const bus_driver_t mpc5200_bus; extern const bus_driver_t ppc440gx_ebc8_bus; +extern const bus_driver_t ppc405ep_bus; extern const bus_driver_t pxa2x0_bus; extern const bus_driver_t pxa27x_bus; extern const bus_driver_t s3c4510_bus; diff --git a/jtag/src/bus/jopcyc.c b/jtag/src/bus/jopcyc.c index edd6ba32..1a006905 100644 --- a/jtag/src/bus/jopcyc.c +++ b/jtag/src/bus/jopcyc.c @@ -713,5 +713,6 @@ const bus_driver_t jopcyc_bus = { jopcyc_bus_read_next, jopcyc_bus_read_end, jopcyc_bus_read, - jopcyc_bus_write + jopcyc_bus_write, + NULL }; diff --git a/jtag/src/bus/lh7a400.c b/jtag/src/bus/lh7a400.c index 1e5dbeb4..2131eac4 100644 --- a/jtag/src/bus/lh7a400.c +++ b/jtag/src/bus/lh7a400.c @@ -271,7 +271,8 @@ const bus_driver_t lh7a400_bus = { lh7a400_bus_read_next, lh7a400_bus_read_end, lh7a400_bus_read, - lh7a400_bus_write + lh7a400_bus_write, + NULL }; static bus_t * diff --git a/jtag/src/bus/mpc5200.c b/jtag/src/bus/mpc5200.c index 7b7958d9..0abb6a52 100644 --- a/jtag/src/bus/mpc5200.c +++ b/jtag/src/bus/mpc5200.c @@ -328,5 +328,6 @@ const bus_driver_t mpc5200_bus = { mpc5200_bus_read_next, mpc5200_bus_read_end, mpc5200_bus_read, - mpc5200_bus_write + mpc5200_bus_write, + NULL }; diff --git a/jtag/src/bus/ppc440gx_ebc8.c b/jtag/src/bus/ppc440gx_ebc8.c index a947e723..49fca9e2 100644 --- a/jtag/src/bus/ppc440gx_ebc8.c +++ b/jtag/src/bus/ppc440gx_ebc8.c @@ -228,7 +228,7 @@ const bus_driver_t ppc440gx_ebc8_bus = { ppc440gx_ebc8_bus_read_next, ppc440gx_ebc8_bus_read_end, ppc440gx_ebc8_bus_read, - ppc440gx_ebc8_bus_write + ppc440gx_ebc8_bus_write, }; static bus_t * diff --git a/jtag/src/bus/slsup3.c b/jtag/src/bus/slsup3.c index 57a97452..35c67217 100644 --- a/jtag/src/bus/slsup3.c +++ b/jtag/src/bus/slsup3.c @@ -484,9 +484,10 @@ const bus_driver_t slsup3_bus = { slsup3_bus_printinfo, slsup3_bus_prepare, slsup3_bus_area, - slsup3_bus_read_start, + slsup3_bus_read_start, slsup3_bus_read_next, slsup3_bus_read_end, slsup3_bus_read, - slsup3_bus_write + slsup3_bus_write, + NULL }; diff --git a/jtag/src/bus/tx4925.c b/jtag/src/bus/tx4925.c index b078b048..f3112b46 100644 --- a/jtag/src/bus/tx4925.c +++ b/jtag/src/bus/tx4925.c @@ -263,7 +263,8 @@ const bus_driver_t tx4925_bus = { tx4925_bus_read_next, tx4925_bus_read_end, tx4925_bus_read, - tx4925_bus_write + tx4925_bus_write, + NULL };