- Nov 06, 2009
-
-
David Brownell authored
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>
-
David Brownell authored
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>
-
David Brownell authored
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>
-
David Brownell authored
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>
-
David Brownell authored
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>
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
This fixes a memory leak in lpc3180_nand_device_command by reordering the malloc to occur after all parsing has completed.
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
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.
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-