1. 07 Apr, 2019 1 commit
  2. 04 Nov, 2016 1 commit
    • HarishKumar's avatar
      Tcl commands: Fix improper return status in flash commands and load_image. · b10037a0
      HarishKumar authored
      
      
      Nand write command :
      nand_fileio_cleanup() always returns ERROR_OK. Due to this,
      handle_nand_write_command() retuns ERROR_OK in the case
      of nand failure. ERROR_FAIL should be returned.
      
      Flash erase_sector command :
      handle_flash_erase_command() always returns ERROR_OK even if
      the erase functionality of actual driver implementation fails.
      retval value should be returned.
      
      Flash write_bank command :
      handle_flash_write_bank_command() returns ERROR_OK even if
      fileio_open() and fileio_read fails. ERROR_FAIL should be
      returned.
      
      Load_image command :
      handle_load_image_command() retuns ERROR_OK even if image_open()
      fails. ERROR_FAIL should be returned.
      When the buffer is null, breaking the loop without setting
      retval = ERROR_FAIL would cause load_image to return ERROR_OK.
      
      Change-Id: Ice32f6036971ab5e8e4dd65edf54b394b001c80c
      Signed-off-by: default avatarHarishKumar <harishpresent@gmail.com>
      Reviewed-on: http://openocd.zylin.com/2431
      
      Reviewed-by: default avatarAndreas Fritiofson <andreas.fritiofson@gmail.com>
      Tested-by: jenkins
      b10037a0
  3. 24 May, 2016 1 commit
  4. 20 May, 2016 1 commit
  5. 29 Feb, 2016 1 commit
  6. 03 Nov, 2015 1 commit
  7. 31 Oct, 2013 1 commit
  8. 05 Jun, 2013 1 commit
  9. 22 Feb, 2012 1 commit
  10. 06 Feb, 2012 1 commit
  11. 23 Jan, 2012 2 commits
  12. 18 Jan, 2012 1 commit
  13. 04 Jan, 2012 2 commits
  14. 02 Jan, 2011 2 commits
  15. 15 Dec, 2010 1 commit
  16. 29 Sep, 2010 2 commits
  17. 21 Sep, 2010 1 commit
  18. 19 Jul, 2010 1 commit
  19. 16 Jun, 2010 1 commit
  20. 16 May, 2010 1 commit
  21. 10 Apr, 2010 1 commit
  22. 09 Jan, 2010 1 commit
    • David Brownell's avatar
      NAND: help/usage/doc updates · 2a76c1bc
      David Brownell authored
      
      
      Usage messages should use the same EBNF as the User's Guide;
      no angle brackets.  Be more complete too ... some params were
      missing.  Improve and correct various helptexts.
      
      Make user's guide refer to the NAND "driver" name, not the
      controller name; that's a bit more precise.
      
      Don't use "&function"; its name is its address.  Line up struct
      initializers properly.  Remove some blank lines.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      2a76c1bc
  23. 28 Dec, 2009 1 commit
  24. 12 Dec, 2009 1 commit
  25. 05 Dec, 2009 2 commits
    • Zachary T Welch's avatar
      rename nand.h to flash//nand/core.h · 899c9975
      Zachary T Welch authored
      Rename nand.h as flash/nand/core.h, chase consumers.  The public APIs
      need to be sorted out with imp.h, but this allows other changes to
      begin improving the separation between policy and mechanism.
      
      Moves #include <target/target.h> and #include "driver.h" into the
      internal headers or source files, removing it from <flash/nand/core.h>.
      899c9975
    • Zachary T Welch's avatar
      split nand.c into nand/{core,fileio,tcl}.c · 747d6f22
      Zachary T Welch authored
      Moves commands into nand/tcl.c and core implementation to 'nand/core.c'
      and 'nand/fileio.c'.  Eliminates 'flash/nand.c'.
      
      Adds 'nand/imp.h' to share routines between TCL commands and core.
      747d6f22