1. 11 Nov, 2009 3 commits
    • Zachary T Welch's avatar
      add const keyword to some APIs · ca594adb
      Zachary T Welch authored
      Add 'const' keyword to 'char *' parameters to allow command handlers to
      pass constant string arguments.  These changes allow the 'args' command
      handler to be changed to 'const' in a subsequent patch.
    • Zachary T Welch's avatar
      change argv to args in command handlers · 9741e126
      Zachary T Welch authored
      Subsequent patches expect all command handlers to use a uniform
      parameter naming scheme.  In the entire tree, these two files used
      standard 'argv' instead of our non-standard 'args'.  This patch opts
      to reduces the noise required to unify the command handlers, using
      dominant 'args' form.
      A future patch may be used to convert us back to the standard argv, but
      that requires coordination with all developers to minimize disruptions.
    • Zachary T Welch's avatar
      makefiles: improve build order · b7b4efcd
      Zachary T Welch authored
      Separates various groups of files to be built in logical succession.
      In each layer, the core module (target.c, nand.c, etc.) is built _after_
      their helper modules (e.g. image.c, nand_ecc.c) but _before_ any of
      their drivers (e.g. arm966e.c, mx3_nand.c).
      This allows problems introduced at the bottom of the stack to result
      in build failures as soon as possible, as the helpers and core should
      wrap portions of them.
  2. 10 Nov, 2009 8 commits
  3. 09 Nov, 2009 2 commits
    • Zachary T Welch's avatar
      src/flash: remove 'extern' and wrap headers · 81fbc637
      Zachary T Welch authored
      Removes 'extern' keywords from function prototypes in the flash headers.
      Wraps long lines to fit into 80 columns.
      Adds multiple inclusion protection for s3c2xx_nand.h.
    • Zachary T Welch's avatar
      Overhaul time support API · 2689f58f
      Zachary T Welch authored
      This patch changes the duration_* API in several ways.  First, it
      updates the API to use better names.  Second, string formatting has
      been removed from the API (with its associated malloc).  Finally, a
      new function added to convert the time into seconds, which can be
      used (or formatted) by the caller.  This eliminates hidden calls to
      malloc that require associated calls to free().
      This patch also removes the useless extern keyword from prototypes,
      and it eliminates the duration_t typedef (use 'struct duration').
      These API also allows proper error checking, as it is possible for
      gettimeofday to fail in certain circumstances.
      The consumers have all been chased to use this new API as well, as
      there were relatively few cases doing this type of measurement.
      In most cases, the code performs additional checks for errors, but
      the calling code looks much cleaner in every case.
  4. 06 Nov, 2009 22 commits
  5. 20 Oct, 2009 2 commits
  6. 15 Oct, 2009 1 commit
  7. 14 Oct, 2009 1 commit
  8. 13 Oct, 2009 1 commit