Zachary T Welch
cd7e76ebf0
refactor command_new to use command_registration
...
Save stack space: use a struct. Makes it easier to add new parameters.
2009-11-24 21:37:37 -08:00
Zachary T Welch
f74e2e033a
remove register_commands from etm_capture_driver
...
Converts callback to an array of command_registration records.
Moves oocd_trace driver definition to end of file to eliminate
useless forward declaration.
2009-11-24 21:37:36 -08:00
Zachary T Welch
66ee303456
remove target_type register_command callback
...
Uses chaining of command_registration structures to eliminate all
target_type register_callback routines. Exports the command_handler
registration arrays for those target types that are used by others.
2009-11-24 21:37:36 -08:00
Zachary T Welch
144e3678bd
xscale: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
8a41656391
trace: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
5f6962b34f
target_request: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
4e67912fb0
target: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
c3800b5e67
oocd_trace: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
a17caa387c
etm_dummy: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
dd063d9914
etm: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
8161fd3163
etb: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
97fbd793b3
cortex_m3: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
28300bbf6f
cortex_a8: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
df95fe25a4
armv7m: use register_commands()
2009-11-24 21:37:36 -08:00
Zachary T Welch
d79176e1bc
armv7a: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
84c03168a5
armv4_5: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
d1eca9a74c
arm9tdmi: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
69908ddbd0
arm966e: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
11061486b5
arm926ejs: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
509fe82b07
arm920t: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
e232dea176
arm7_9_common: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
e905fe6e75
arm720t: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
b40f265f9c
arm11: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
90d09e35e4
remove nand_controller->register_callbacks
...
Replace flash_driver callback with pointer to command_registration.
Eliminates all related routines and allows drivers to omit commands.
2009-11-24 21:37:35 -08:00
Zachary T Welch
ad090413a8
remove flash_driver->register_callbacks
...
Replace flash_driver callback with pointer to command_registration.
Eliminates all related routines and allows drivers to omit commands.
2009-11-24 21:37:35 -08:00
Zachary T Welch
6b9bb584a5
tms470: use register_commands()
2009-11-24 21:37:35 -08:00
Zachary T Welch
b4e95c3720
str9xpec: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
5e977b46c3
str9x: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
dfa856ca18
str7x: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
f9606a6cb7
stm32x: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
737f8f2735
stellaris: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
0ff0dbba49
pic32mx: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
ccae9ae020
nand: use register_commands()
...
Eliminates 'nand_cmd' global variable.
2009-11-24 21:37:34 -08:00
Zachary T Welch
1bf7462edb
mflash: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
7609e1091a
lpc3180_nand_controller: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
1cbe3ec6f1
lpc2900: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
a12a29c28a
lpc2000: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
b90bf52be3
flash: use register_commands()
...
Eliminates 'flash_cmd' global variable.
2009-11-24 21:37:34 -08:00
Zachary T Welch
1765b10304
ecos: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
b595ab8b97
cfi: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
c4aa2fd6e7
avrf: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
bdae918dcd
at91sam7: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
2a4a94b7ac
at91sam3: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
8d46720cda
remove register_callbacks from jtag interface
...
Changes the jtag_interface->register_callbacks field to a list of
commands to be registered. Changes callback to invocation of
register_commands() with that command registration list. Removes all
JTAG interface driver register_command callback functions, which the
previous commits had converted into identical calls.
2009-11-24 21:37:33 -08:00
Zachary T Welch
fc2d9f8761
vsllink: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
355a673032
jtag: use register_commands()
...
Use register commands with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
9a31d66b3f
presto: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
339e08baa5
parport: use register_commands()
...
Use register_commands() with a command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
b1d034bf2f
jlink: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
779bdbe797
gw16012: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00