[ 2009080 ] Add bus drivers for bf526 ezkit and bf538f ezkit

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1294 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Jie Zhang 17 years ago
parent a5782117c4
commit 6116c8c427

@ -390,7 +390,7 @@ AC_DEFUN([CHECK_DRIVER], [
# Enable bus drivers
AC_DEFUN([DEF_ENABLE_BUSDRIVERS], [\
au1500 avr32 bcm1250 bf527_ezkit bf533_stamp bf533_ezkit bf537_stamp bf537_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 \
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,
@ -411,11 +411,13 @@ enabled_bus_drivers=''
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [au1500], [ENABLE_BUS_AU1500])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [avr32], [ENABLE_BUS_AVR32])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bcm1250], [ENABLE_BUS_BCM1250])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf526_ezkit], [ENABLE_BUS_BF526_EZKIT])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf527_ezkit], [ENABLE_BUS_BF527_EZKIT])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf533_stamp], [ENABLE_BUS_BF533_STAMP])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf533_ezkit], [ENABLE_BUS_BF533_EZKIT])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf537_stamp], [ENABLE_BUS_BF537_STAMP])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf537_ezkit], [ENABLE_BUS_BF537_EZKIT])
CHECK_DRIVER([$busdrivers], [enabled_bus_drivers], [bf538f_ezkit], [ENABLE_BUS_BF538F_EZKIT])
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])

@ -65,6 +65,8 @@ nobase_dist_pkgdata_DATA = \
analog/bf533/bf533 \
analog/bf537/STEPPINGS \
analog/bf537/bf537 \
analog/bf538/STEPPINGS \
analog/bf538/bf538 \
analog/bf548/STEPPINGS \
analog/bf548/bf548 \
analog/bf561/STEPPINGS \

@ -25,5 +25,6 @@
0010011111100000 bf527 BF527
0010011110100101 bf533 BF533
0010011111001000 bf537 BF537
0010011111000100 bf538 BF538
0010011111011110 bf548 BF548
0010011110111011 bf561 BF561

@ -46,6 +46,10 @@ if ENABLE_BUS_BCM1250
libbus_a_SOURCES += bcm1250.c
endif
if ENABLE_BUS_BF526_EZKIT
libbus_a_SOURCES += bf537_stamp.c
endif
if ENABLE_BUS_BF527_EZKIT
libbus_a_SOURCES += bf537_stamp.c
endif
@ -66,6 +70,10 @@ if ENABLE_BUS_BF537_EZKIT
libbus_a_SOURCES += bf537_stamp.c
endif
if ENABLE_BUS_BF538F_EZKIT
libbus_a_SOURCES += bf537_stamp.c
endif
if ENABLE_BUS_BF548_EZKIT
libbus_a_SOURCES += bf548_ezkit.c
endif

@ -359,3 +359,23 @@ const bus_driver_t bf527_ezkit_bus = {
};
#endif /* #ifdef ENABLE_BUS_BF527_EZKIT */
#ifdef ENABLE_BUS_BF538F_EZKIT
const bus_driver_t bf538f_ezkit_bus = {
"bf538f_ezkit",
N_("Blackfin BF538F EZ-KIT board bus driver"),
BF537_STAMP_BUS_FUNCTIONS
};
#endif /* #ifdef ENABLE_BUS_BF538F_EZKIT */
#ifdef ENABLE_BUS_BF526_EZKIT
const bus_driver_t bf526_ezkit_bus = {
"bf526_ezkit",
N_("Blackfin BF526 EZ-KIT board bus driver"),
BF537_STAMP_BUS_FUNCTIONS
};
#endif /* #ifdef ENABLE_BUS_BF526_EZKIT */

@ -39,6 +39,9 @@ const bus_driver_t *bus_drivers[] = {
#ifdef ENABLE_BUS_BCM1250
&bcm1250_bus,
#endif
#ifdef ENABLE_BUS_BF526_EZKIT
&bf526_ezkit_bus,
#endif
#ifdef ENABLE_BUS_BF527_EZKIT
&bf527_ezkit_bus,
#endif
@ -54,6 +57,9 @@ const bus_driver_t *bus_drivers[] = {
#ifdef ENABLE_BUS_BF537_EZKIT
&bf537_ezkit_bus,
#endif
#ifdef ENABLE_BUS_BF538F_EZKIT
&bf538f_ezkit_bus,
#endif
#ifdef ENABLE_BUS_BF548_EZKIT
&bf548_ezkit_bus,
#endif

@ -28,11 +28,13 @@
extern const bus_driver_t au1500_bus;
extern const bus_driver_t avr32_bus_driver;
extern const bus_driver_t bcm1250_bus;
extern const bus_driver_t bf526_ezkit_bus;
extern const bus_driver_t bf527_ezkit_bus;
extern const bus_driver_t bf533_stamp_bus;
extern const bus_driver_t bf533_ezkit_bus;
extern const bus_driver_t bf537_stamp_bus;
extern const bus_driver_t bf537_ezkit_bus;
extern const bus_driver_t bf538f_ezkit_bus;
extern const bus_driver_t bf548_ezkit_bus;
extern const bus_driver_t bf561_ezkit_bus;
extern const bus_driver_t ejtag_bus;

Loading…
Cancel
Save