1. 04 Jan, 2012 1 commit
  2. 29 Dec, 2010 1 commit
    • Andrew MacIsaac's avatar
      Compilation Warnings on OS X 10.5 · 50e79d60
      Andrew MacIsaac authored
      I received a number of "-Wshadow" related warnings (treated as errors) while
      trying to build on OS X Leopard.  In addition, there were two miscellaneous
      other warnings in the flash drivers.  Attached are two patches which correct
      these issues and the commit messages to accompany them.
      
      My system has the following configuration (taken from uname -a):
      
      Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
      root:xnu-1228.15.4~1/RELEASE_I386 i386
      
      === Werror_patch.txt Commit Message ===
      compilation: fixes for -Wshadow warnings on OS X
      
      These changes fix -Wshadow compilation warnings on OS X 10.5.8
      
      Compiled with the following configure command:
      
      ../configure --prefix=/usr/local --enable-maintainer-mode --enable-jlink
      --enable-ft2232_libftdi
      
      === flash_patch.txt Commit Message ===
      compilation: fixes for flash driver warnings on OS X
      
      These changes fix two compilation warnings on OS X 10.5.8:
      
      ../../../../src/flash/nor/at91sam3.c:2767: warning: redundant redeclaration
      of 'at91sam3_flash'
      ../../../../src/flash/nor/at91sam3.c:101: warning: previous declaration of
      'at91sam3_flash' was here
      
      and
      
      ../../../../src/flash/nor/stmsmi.c:205: warning: format not a string literal
      and no format arguments
      
      Compiled with the following configure command:
      
      ../configure --prefix=/usr/local --enable-maintainer-mode --enable-jlink
      --enable-ft2232_libftdi
      ===
      
      Andrew
      50e79d60
  3. 01 Dec, 2010 3 commits
  4. 15 Jun, 2010 1 commit
  5. 16 May, 2010 1 commit
    • Antonio Borneo's avatar
      NOR: add read() callback to struct flash_driver · bc8be110
      Antonio Borneo authored
      
      
      Final target is to force bus_width size during CFI flash
      read.
      In this first step I need to replace default flash read
      with flash specific implementation.
      This patch introduces:
      - flash_driver_read() layer;
      - default_flash_read(), backward compatible;
      - read() callback in struct flash_driver;
      - proper initialization in every flash_driver instance.
      
      Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
      bc8be110
  6. 04 May, 2010 1 commit
  7. 29 Jan, 2010 1 commit
  8. 09 Jan, 2010 1 commit
    • David Brownell's avatar
      src/flash/nor: usage/help/doc updates · 1c5c57ec
      David Brownell authored
      
      
      Make "usage" messages use the same EBNF as the User's Guide;
      no angle brackets.  Improve and correct various helptexts.
      
      Don't use "&function"; a function's name is its address.
      Remove a couple instances of pointless whitespace; shrink a
      few overlong lines; fix some bad indents.
      
      Add TODO list entry re full support for NAND/NOR bank names.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      1c5c57ec
  9. 07 Dec, 2009 1 commit
    • David Brownell's avatar
      ARM: use <target/arm.h> not armv4_5.h · 0a1b7dcf
      David Brownell authored
      
      
      Move most declarations in <target/armv4_5.h> to <target/arm.h>
      and update users.
      
      What's left in the older file is stuff that I think should be
      removed ... the old register cache access stuff, which makes it
      awkward to support microcontroller profile (Cortex-M) cores.
      
      The armv4_5_run_algorithm() declaration was moved too, even
      though it's not yet as generic as it probably ought to be.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      0a1b7dcf
  10. 05 Dec, 2009 5 commits
  11. 03 Dec, 2009 6 commits
  12. 25 Nov, 2009 3 commits
  13. 19 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      rename flash and nand command helpers · ff25e76b
      Zachary T Welch authored
      After adding support for referencing banks by name, renames
      the COMMAND_HELPERs appropriately:
      flash_command_get_bank_by_num  -> flash_command_get_bank
      nand_command_get_device_by_num -> flash_command_get_device
      ff25e76b
  14. 17 Nov, 2009 3 commits
  15. 16 Nov, 2009 3 commits
    • Zachary T Welch's avatar
      fileio: improve API types · 51862bb9
      Zachary T Welch authored
      Use size_t instead of uint32_t when specifying file sizes.  Update all
      consumers up through the layers to use size_t when required.  These
      changes should be safe, but the higher-levels will need to be updated
      further to receive the intended benefits (i.e. large file support).
      
      Add error checking for fileio_read and file_write.  Previously, all
      errors were being silently ignored, so this change might cause some
      problems for some people in some cases.  However, it gives us the chance
      to handle any errors that do occur at higher-levels, rather than burying
      our heads in the sand.
      51862bb9
    • Zachary T Welch's avatar
      flash_command_get_bank_by_num: make COMMAND_HELPER · e84849f5
      Zachary T Welch authored
      Use COMMAND_HELPER macro to declare flash_command_get_bank_by_num.
      This is required for COMMAND_PARSE_NUMBER macro.
      e84849f5
    • David Brownell's avatar
      target: don't implicitly include "algorithm.h" · db094c2e
      David Brownell authored
      
      
      Most files in the tree seem to have ended up including this,
      and *quite* needlessly ... only code implementing or using
      downloadable algorithms actually needs these declarations.
      
      So take it out of the header files which included it, and put
      it in files which use it ... reduce needless interdependencies.
      
      Also: "algorithm.h" doesn't need to include "types.h" again;
      it already comes from a different header.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      db094c2e
  16. 14 Nov, 2009 1 commit
  17. 13 Nov, 2009 7 commits