Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-05 | ARM720: remove exports and forward decls | David Brownell | 1 | -119/+95 | |
Unneeded exports cause confusion about the module interfaces. Make all functions static. Add a short header comment. The forward decls are just code clutter; remove them, by moving their references after definitions. This is another file which never needed even one internal forward declaration. Remove unneeded indirection for the write_memory() method. Make a table static, remove a can't-happen case with nasty exit(). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> | |||||
2009-11-05 | FA526: remove exports and forward decls | David Brownell | 1 | -60/+56 | |
Unneeded exports cause confusion about the module interfaces. Make most functions static. The forward decls are just code clutter; remove them, by moving their references after definitions. This is another file which never needed even one internal forward declaration. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> | |||||
2009-11-05 | ARM9TDMI: remove forward decls | David Brownell | 2 | -58/+69 | |
The forward decls are just code clutter; remove them, by moving their references after definitions. This is another file which never needed even one internal forward declaration. Also shrink a few overly-long lines with function declarations or definitions. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> | |||||
2009-11-05 | ARM966: remove exports and forward decls | David Brownell | 2 | -59/+55 | |
Unneeded exports cause confusion about the module interfaces. Make most functions static. The forward decls are just code clutter; remove them, by moving their references after definitions. This is another file which never needed even one internal forward declaration. Also remove needless arm966e_init_target(), in favor of the arm9tdmi routine to which it delegates its work. This saved over 100 bytes of code on x86_32. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> | |||||
2009-11-05 | ARM926: more cleanup | David Brownell | 1 | -37/+22 | |
An init_target() wrapper isn't needed, and target_create() can shrink a bit. Add a header comment and some doxygen. Remove arm926ejs_catch_broken_irscan() which has been a NOP for quite a few months now, and in any case duplicates logic in the JTAG core to validate IR capture data. But force the capture mask to 0x0f, so those tests are most effective. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> | |||||
2009-11-05 | ARM920: remove exports and forward decls | David Brownell | 2 | -112/+150 | |
Unneeded exports cause confusion about the module interfaces. Make most functions static. Add a short header comment. The forward decls are just code clutter; remove them, by moving their references after definitions. This is another file which never needed even one internal forward declaration. This saved almost 900 bytes of code on x86_32; it seems the compiler can leverage its knowledge that these functions are not called from the outside world... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> | |||||
2009-11-05 | Improve str9xpec command argument parsing. | Zachary T Welch | 1 | -80/+44 | |
2009-11-05 | Improve str9x config command argument parsing. | Zachary T Welch | 1 | -11/+14 | |
2009-11-05 | Improve str7x config command argument parsing. | Zachary T Welch | 1 | -12/+9 | |
2009-11-05 | Improve stm32x.c command argument parsing. | Zachary T Welch | 1 | -35/+20 | |
2009-11-05 | Improve stellaris.c erase argument parsing. | Zachary T Welch | 1 | -7/+4 | |
2009-11-05 | Improve pic32mx.c command argument parsing. | Zachary T Welch | 1 | -30/+19 | |
2009-11-05 | Improve mflash.c command argument parsing. | Zachary T Welch | 1 | -6/+9 | |
2009-11-05 | Improve lpc3180_nand_controller.c parsing. | Zachary T Welch | 1 | -10/+15 | |
This fixes a memory leak in lpc3180_nand_device_command by reordering the malloc to occur after all parsing has completed. | |||||
2009-11-05 | Improve lpc2900.c command argument parsing. | Zachary T Welch | 1 | -53/+36 | |
2009-11-05 | Improve lpc288x.c command argument parsing. | Zachary T Welch | 1 | -1/+1 | |
2009-11-05 | Improve lpc2000.c command argument parsing. | Zachary T Welch | 1 | -8/+5 | |
2009-11-05 | Improve cfi.c command argument parsing. | Zachary T Welch | 1 | -2/+6 | |
2009-11-05 | Improve avrf.c command argument parsing. | Zachary T Welch | 1 | -7/+4 | |
2009-11-05 | Improve orion_nand.c command argument parsing. | Zachary T Welch | 1 | -1/+1 | |
2009-11-05 | Improve davinci_nand.c command argument parsing. | Zachary T Welch | 1 | -5/+4 | |
2009-11-05 | Improve at91sam7.c command argument parsing. | Zachary T Welch | 1 | -20/+24 | |
2009-11-05 | Improve at91sam3.c command argument parsing. | Zachary T Welch | 1 | -11/+6 | |
2009-11-05 | Improve nand.c command argument parsing. | Zachary T Welch | 1 | -72/+53 | |
2009-11-05 | Improve flash.c command argument parsing. | Zachary T Welch | 1 | -68/+51 | |
2009-11-05 | Add Flash/NAND bank command argument helpers. | Zachary T Welch | 4 | -0/+45 | |
This eliminates redundant code for parsing and retreiving the bank specified from a script command argument. This patch was written to replace existing functionality; however, the parsing logic can be updated later to allow flash commands to accept bank names as well as their numbers. | |||||
2009-11-05 | Improve ETM tracemode update command. | Zachary T Welch | 1 | -88/+84 | |
2009-11-05 | Improve etm command argument parsing. | Zachary T Welch | 1 | -4/+9 | |
2009-11-05 | Improve trace command argument parsing. | Zachary T Welch | 1 | -2/+4 | |
2009-11-05 | Improve arm_adi_v5 command argument parsing. | Zachary T Welch | 1 | -15/+42 | |
2009-11-05 | Improve cortex_m3 command argument parsing. | Zachary T Welch | 1 | -6/+2 | |
2009-11-05 | Improve xscale command argument parsing. | Zachary T Welch | 1 | -2/+2 | |
2009-11-05 | Improve arm11 command argument parsing. | Zachary T Welch | 1 | -7/+7 | |
2009-11-05 | Improve arm966e command argument parsing. | Zachary T Welch | 1 | -2/+4 | |
2009-11-05 | Improve arm926ejs command argument parsing. | Zachary T Welch | 1 | -5/+6 | |
2009-11-05 | Improve arm920t command argument parsing. | Zachary T Welch | 1 | -6/+12 | |
2009-11-05 | Improve arm720t command argument parsing. | Zachary T Welch | 1 | -2/+5 | |
2009-11-05 | Improve arm7_9_common command argument parsing. | Zachary T Welch | 1 | -8/+8 | |
2009-11-05 | Improve armv7m command argument parsing. | Zachary T Welch | 1 | -11/+20 | |
2009-11-05 | Improve armv7a command argument parsing. | Zachary T Welch | 1 | -5/+12 | |
2009-11-05 | Improve armv4_5 command argument parsing. | Zachary T Welch | 1 | -2/+2 | |
2009-11-05 | Improve xscale command argument parsing. | Zachary T Welch | 1 | -12/+12 | |
2009-11-05 | Improve pld command argument parsing. | Zachary T Welch | 2 | -6/+11 | |
2009-11-05 | Update all server port command to use new helper. | Zachary T Welch | 3 | -23/+5 | |
2009-11-05 | Add server port command helper function. | Zachary T Welch | 2 | -0/+23 | |
2009-11-05 | Improve target.c command argument parsing. | Zachary T Welch | 1 | -88/+36 | |
Passes cmd_ctx into parse_load_image_command_args for reporting the parsing errors therein. | |||||
2009-11-05 | Improve jtag command argument parsing. | Zachary T Welch | 6 | -51/+36 | |
2009-11-05 | Improve debug_level command argument parsing. | Zachary T Welch | 1 | -3/+1 | |
2009-11-05 | Add macro for parsing numeric command arguments. | Zachary T Welch | 1 | -0/+21 | |
This helper eliminates significant amount of redundant code in command handler functions throughout the system. It wraps the lower-level parse_* macros to implement a policy for reporting parse errors to the active command context (cmd_ctx). If errors do occur, this macro causes the calling function to abort with the proper return code. | |||||
2009-11-05 | Add stringify macros in src/helper/types.h. | Zachary T Welch | 1 | -0/+4 | |