From 802df5f8f715822eb2abe80b07366c4438ea845f Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Tue, 9 Dec 2008 21:14:20 +0000 Subject: [PATCH] 2412486 neufbox4 support: DMA-only EJTAG driver (Julien Aube) git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1397 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/THANKS | 1 + jtag/configure.ac | 3 ++- jtag/src/bus/Makefile.am | 4 ++++ jtag/src/bus/buses.c | 1 + jtag/src/bus/buses.h | 2 +- 6 files changed, 14 insertions(+), 2 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 64caa1b5..b554f71d 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2008-12-08 Julien Aube + + * src/bus/ejtag_dma.c: + Support for ejtag in DMA mode. + 2008-12-07 Mike Frysinger * data/analog/bf518/bf518, data/analog/bf518/STEPPINGS, data/analog/PARTS, diff --git a/jtag/THANKS b/jtag/THANKS index 04ebe6ef..aeb3b71d 100644 --- a/jtag/THANKS +++ b/jtag/THANKS @@ -4,6 +4,7 @@ Please complain if you find any typos, incorrect sorting, or someone is missing who should be listed there! Shaju Abraham +Julien Aube Beregnyei Balazs Michael Banditt Krzysztof Blaszkowski diff --git a/jtag/configure.ac b/jtag/configure.ac index a6fc0f48..5ae3e0ad 100644 --- a/jtag/configure.ac +++ b/jtag/configure.ac @@ -390,7 +390,7 @@ AC_DEFUN([CHECK_DRIVER], [ # Enable bus drivers AC_DEFUN([DEF_ENABLE_BUSDRIVERS], [\ -au1500 avr32 bcm1250 bf526_ezkit bf527_ezkit bf533_stamp bf533_ezkit bf537_stamp bf537_ezkit bf538f_ezkit bf548_ezkit bf561_ezkit ejtag \ +au1500 avr32 bcm1250 bf526_ezkit bf527_ezkit bf533_stamp bf533_ezkit bf537_stamp bf537_ezkit bf538f_ezkit bf548_ezkit bf561_ezkit ejtag ejtag_dma\ fjmem ixp425 jopcyc h7202 lh7a400 mpc5200 mpc824x ppc405ep ppc440gx_ebc8 prototype pxa2x0 pxa27x \ s3c4510 sa1110 sh7727 sh7750r sh7751r sharc_21065L slsup3 tx4925 zefant_xs3]) AC_ARG_ENABLE(bus, @@ -421,6 +421,7 @@ CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf538f_ezkit], [ENABLE_BUS CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf548_ezkit], [ENABLE_BUS_BF548_EZKIT]) CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf561_ezkit], [ENABLE_BUS_BF561_EZKIT]) CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [ejtag], [ENABLE_BUS_EJTAG]) +CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [ejtag_dma], [ENABLE_BUS_EJTAG_DMA]) CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [fjmem], [ENABLE_BUS_FJMEM]) CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [ixp425], [ENABLE_BUS_IXP425]) CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [jopcyc], [ENABLE_BUS_JOPCYC]) diff --git a/jtag/src/bus/Makefile.am b/jtag/src/bus/Makefile.am index 4c0d967b..9f7e8415 100644 --- a/jtag/src/bus/Makefile.am +++ b/jtag/src/bus/Makefile.am @@ -86,6 +86,10 @@ if ENABLE_BUS_EJTAG libbus_a_SOURCES += ejtag.c endif +if ENABLE_BUS_EJTAG_DMA +libbus_a_SOURCES += ejtag_dma.c +endif + if ENABLE_BUS_FJMEM libbus_a_SOURCES += fjmem.c endif diff --git a/jtag/src/bus/buses.c b/jtag/src/bus/buses.c index 6e878649..ad82e8d3 100644 --- a/jtag/src/bus/buses.c +++ b/jtag/src/bus/buses.c @@ -68,6 +68,7 @@ const bus_driver_t *bus_drivers[] = { #endif #ifdef ENABLE_BUS_EJTAG &ejtag_bus, + &ejtag_dma_bus, #endif #ifdef ENABLE_BUS_FJMEM &fjmem_bus, diff --git a/jtag/src/bus/buses.h b/jtag/src/bus/buses.h index 976d6748..9ba35592 100644 --- a/jtag/src/bus/buses.h +++ b/jtag/src/bus/buses.h @@ -59,5 +59,5 @@ extern const bus_driver_t sharc_21065L_bus; extern const bus_driver_t slsup3_bus; extern const bus_driver_t tx4925_bus; extern const bus_driver_t zefant_xs3_bus; - +extern const bus_driver_t ejtag_dma_bus; #endif /* BUSES_H */