Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ARM920: remove exports and forward decls | David Brownell | 2009-11-05 | 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> | |||||
* | Improve str9xpec command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -80/+44 | |
| | ||||||
* | Improve str9x config command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -11/+14 | |
| | ||||||
* | Improve str7x config command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -12/+9 | |
| | ||||||
* | Improve stm32x.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -35/+20 | |
| | ||||||
* | Improve stellaris.c erase argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -7/+4 | |
| | ||||||
* | Improve pic32mx.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -30/+19 | |
| | ||||||
* | Improve mflash.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -6/+9 | |
| | ||||||
* | Improve lpc3180_nand_controller.c parsing. | Zachary T Welch | 2009-11-05 | 1 | -10/+15 | |
| | | | | | This fixes a memory leak in lpc3180_nand_device_command by reordering the malloc to occur after all parsing has completed. | |||||
* | Improve lpc2900.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -53/+36 | |
| | ||||||
* | Improve lpc288x.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -1/+1 | |
| | ||||||
* | Improve lpc2000.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -8/+5 | |
| | ||||||
* | Improve cfi.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -2/+6 | |
| | ||||||
* | Improve avrf.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -7/+4 | |
| | ||||||
* | Improve orion_nand.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -1/+1 | |
| | ||||||
* | Improve davinci_nand.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -5/+4 | |
| | ||||||
* | Improve at91sam7.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -20/+24 | |
| | ||||||
* | Improve at91sam3.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -11/+6 | |
| | ||||||
* | Improve nand.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -72/+53 | |
| | ||||||
* | Improve flash.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -68/+51 | |
| | ||||||
* | Add Flash/NAND bank command argument helpers. | Zachary T Welch | 2009-11-05 | 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. | |||||
* | Improve ETM tracemode update command. | Zachary T Welch | 2009-11-05 | 1 | -88/+84 | |
| | ||||||
* | Improve etm command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -4/+9 | |
| | ||||||
* | Improve trace command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -2/+4 | |
| | ||||||
* | Improve arm_adi_v5 command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -15/+42 | |
| | ||||||
* | Improve cortex_m3 command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -6/+2 | |
| | ||||||
* | Improve xscale command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -2/+2 | |
| | ||||||
* | Improve arm11 command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -7/+7 | |
| | ||||||
* | Improve arm966e command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -2/+4 | |
| | ||||||
* | Improve arm926ejs command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -5/+6 | |
| | ||||||
* | Improve arm920t command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -6/+12 | |
| | ||||||
* | Improve arm720t command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -2/+5 | |
| | ||||||
* | Improve arm7_9_common command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -8/+8 | |
| | ||||||
* | Improve armv7m command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -11/+20 | |
| | ||||||
* | Improve armv7a command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -5/+12 | |
| | ||||||
* | Improve armv4_5 command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -2/+2 | |
| | ||||||
* | Improve xscale command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -12/+12 | |
| | ||||||
* | Improve pld command argument parsing. | Zachary T Welch | 2009-11-05 | 2 | -6/+11 | |
| | ||||||
* | Update all server port command to use new helper. | Zachary T Welch | 2009-11-05 | 3 | -23/+5 | |
| | ||||||
* | Add server port command helper function. | Zachary T Welch | 2009-11-05 | 2 | -0/+23 | |
| | ||||||
* | Improve target.c command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -88/+36 | |
| | | | | | Passes cmd_ctx into parse_load_image_command_args for reporting the parsing errors therein. | |||||
* | Improve jtag command argument parsing. | Zachary T Welch | 2009-11-05 | 6 | -51/+36 | |
| | ||||||
* | Improve debug_level command argument parsing. | Zachary T Welch | 2009-11-05 | 1 | -3/+1 | |
| | ||||||
* | Add macro for parsing numeric command arguments. | Zachary T Welch | 2009-11-05 | 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. | |||||
* | Add stringify macros in src/helper/types.h. | Zachary T Welch | 2009-11-05 | 1 | -0/+4 | |
| | ||||||
* | arm920t: add mrcmcr interface fn's. | Øyvind Harboe | 2009-11-05 | 1 | -0/+29 | |
| | | | | | | | | The arm920t has a concept of read modify write cycles that may have to be represented in the mrcmcr interface eventually. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> | |||||
* | arm11: check if target is halted before executing mrc/mcr commands. | Øyvind Harboe | 2009-11-05 | 1 | -0/+7 | |
| | | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> | |||||
* | target: fix ordering of arguments to mcr and mrc commands | Øyvind Harboe | 2009-11-05 | 1 | -7/+7 | |
| | | | | | | Now matches machine code syntax and old arm11 syntax. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> | |||||
* | target: check args to mrc/mcr. | Øyvind Harboe | 2009-11-05 | 1 | -0/+24 | |
| | | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> | |||||
* | ARM11: added mrc/mcr support to arm11 code. | Øyvind Harboe | 2009-11-05 | 1 | -0/+53 | |
| | | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> |