1. 30 Nov, 2015 1 commit
  2. 12 Nov, 2015 1 commit
    • Thomas Chou's avatar
      dm: implement a MTD uclass · d8587993
      Thomas Chou authored
      Implement a Memory Technology Device (MTD) uclass. It should
      include most flash drivers in the future. Though no uclass ops
      are defined yet, the MTD ops could be used.
      
      The NAND flash driver is based on MTD. The CFI flash and SPI
      flash support MTD, too. It should make sense to convert them
      to MTD uclass.
      Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
      d8587993
  3. 28 May, 2015 1 commit
  4. 22 Apr, 2015 1 commit
  5. 19 Nov, 2014 1 commit
  6. 14 Oct, 2013 1 commit
  7. 24 Jul, 2013 1 commit
  8. 10 Jan, 2013 1 commit
    • Angelo Dureghello's avatar
      mtd/cfi: add support for SST 4KB sector granularity · 07b2c5c0
      Angelo Dureghello authored
      Add support for SST 4KB sector granularity.
      
      Many recent SST flashes, i.e. SST39VF3201B and similar of this family
      are declared CFI-conformant from SST. They support CFI query, but implement
      2 different sector sizes in the same memory: a 64KB sector (they call it
      "block", std AMD erase cmd=0x30), and a 4KB sector (they call it "sector",
      erase cmd=0x50). Also, CFI query on these chips, reading from address 0x2dh
      of cfi query struct, detects a number of secotrs for the 4KB granularity
      (flinfo shows it).
      
      For all other aspects, they are CFI compliant, so, as Linux do, i think
      it's a good idea to handle these chips in the CFI driver, with a fixup
      to allow 4KB granularity, as should be expected, instead of 64KB.
      Signed-off-by: default avatarAngelo Dureghello <sysamfw@gmail.com>
      Signed-off-by: default avatarStefan Rose <sr@denx.de>
      07b2c5c0
  9. 26 Oct, 2012 1 commit
  10. 03 Sep, 2012 1 commit
  11. 13 Aug, 2012 1 commit
  12. 07 Apr, 2011 1 commit
  13. 20 Sep, 2010 1 commit
    • Stefan Roese's avatar
      cfi_flash: Simplify dynamic flash bank number detection · ca5def3f
      Stefan Roese authored
      This patch simplifies the use of CONFIG_SYS_MAX_FLASH_BANKS_DETECT. By
      moving these optional variables and defines into the common code, board
      specific code is minimized. Currently only the following board use
      this feature:
      
      APC405, IDS8247, TQM834x
      
      And IDS8247 doesn't seem to really need this feature, since its not
      updating the bank number variable at all. So this patch removes the
      definition of CONFIG_SYS_MAX_FLASH_BANKS_DETECT from this board port.
      
      This new framework will be used by the upcoming lwmon5 update as well.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
      ca5def3f
  14. 26 Aug, 2009 1 commit
  15. 04 Apr, 2009 1 commit
  16. 11 Feb, 2009 1 commit
  17. 05 Feb, 2009 1 commit
    • Becky Bruce's avatar
      flash/cfi_flash: Use virtual sector start address, not phys · 09ce9921
      Becky Bruce authored
      include/flash.h was commented to say that the address in
      flash_info->start was a physical address.  However, from u-boot's
      point of view, and looking at most flash code, it makes more
      sense for this to be a virtual address.  So I corrected the
      comment to indicate that this was a virtual address.
      
      The only flash driver that was actually treating the address
      as physical was the mtd/cfi_flash driver.  However, this code
      was using it inconsistently as it actually directly dereferenced
      the "start" element, while it used map_physmem to get a
      virtual address in other places.  I changed this driver so
      that the code which initializes the info->start field calls
      map_physmem to get a virtual address, eliminating the need for
      further map_physmem calls.  The code is now consistent.
      
      The *only* place a physical address should be used is when defining the
      flash banks list that is used to initialize the flash_info struct,
      usually found in the board config file.
      Signed-off-by: default avatarBecky Bruce <beckyb@kernel.crashing.org>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      09ce9921
  18. 24 Nov, 2008 3 commits
  19. 18 Oct, 2008 2 commits
  20. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  21. 13 Dec, 2007 1 commit
  22. 08 Dec, 2007 1 commit
  23. 14 Aug, 2007 1 commit
  24. 18 Mar, 2007 1 commit
  25. 24 Jan, 2007 1 commit
  26. 24 Dec, 2006 1 commit
  27. 13 Nov, 2006 1 commit
  28. 03 Oct, 2006 1 commit
    • Marian Balakowicz's avatar
      Update for CAM5200 board: · 7299712c
      Marian Balakowicz authored
        - Map in a additional chip selects CS4 and CS5.
        - Modify the port configration, configure six UARTs and no PCI,
          ATA and USB.
        - Add custom flash driver to handle specific byte swapping
      7299712c
  29. 30 May, 2006 1 commit
    • Wolfgang Denk's avatar
      * Update Intel IXP4xx support · ba94a1bb
      Wolfgang Denk authored
      - Add IXP4xx NPE ethernet MAC support
      - Add support for Intel IXDPG425 board
      - Add support for Prodrive PDNB3 board
      - Add IRQ support
      Patch by Stefan Roese, 23 May 2006
      
      [This patch does not include cpu/ixp/npe/IxNpeMicrocode.c which still
       sufferes from licensing issues. Blame Intel.]
      ba94a1bb
  30. 01 Apr, 2006 1 commit
    • Stefan Roese's avatar
      * Changes/fixes for drivers/cfi_flash.c: · 2662b40c
      Stefan Roese authored
        - Add Intel legacy lock/unlock support to common CFI driver
      
          On some Intel flash's (e.g. Intel J3) legacy unlocking is
          supported, meaning that unlocking of one sector will unlock
          all sectors of this bank. Using this feature, unlocking
          of all sectors upon startup (via env var "unlock=yes") will
          get much faster.
      
        - Fixed problem with multiple reads of envronment variable
          "unlock" as pointed out by Reinhard Arlt & Anders Larsen.
      
        - Removed unwanted linefeeds from "protect" command when
          CFG_FLASH_PROTECTION is enabled.
      
        - Changed p3p400 board to use CFG_FLASH_PROTECTION
      
        Patch by Stefan Roese, 01 Apr 2006
      
      * Changes/fixes for drivers/cfi_flash.c:
        - Correctly handle the cases where CFG_HZ != 1000 (several
          XScale-based boards)
        - Fix the timeout calculation of buffered writes (off by a
          factor of 1000)
        Patch by Anders Larsen, 31 Mar 2006
      2662b40c
  31. 12 Mar, 2006 1 commit
    • Wolfgang Denk's avatar
      Add ADI Blackfin support · 0afe519a
      Wolfgang Denk authored
      - add support for Analog Devices Blackfin BF533 CPU
      - add support for the ADI BF533 Stamp uClinux board
      - add support for the ADI BF533 EZKit board
      Patches by Richard Klingler, June 11th 2005:
      0afe519a
  32. 01 Mar, 2006 1 commit
  33. 28 Feb, 2006 1 commit
    • Stefan Roese's avatar
      Major CFI-FLASH driver update: · 79b4cda0
      Stefan Roese authored
      * Add env-variable "unlock" to handle initial state of sectors
        (locked/unlocked).
      
        Only the U-Boot image and it's environment is protected,
        all other sectors are unprotected (unlocked) if flash
        hardware protection is used (CFG_FLASH_PROTECTION) and
        the environment variable "unlock" is set to "yes".
      
        Patch by Stefan Roese, 28 Feb 2006
      
      * Update drivers/cfi_flash.c:
        - find_sector() called in both versions of flash_write_cfiword()
        Patch by Peter Pearse, 27th Feb 2006
      
      * CFI support for a x8/x16 AMD/Spansion flash configured in x8 mode
        Patch by Jose Maria Lopez, 16 Jan 2006
      
      * Add support for AMD/Spansion Flashes in flash_write_cfibuffer
        Patch by Alex Bastos and Thomas Schaefer, 2005-08-29
      
      * Changes/fixes for drivers/cfi_flash.c:
        We *should* check if there are any error bits if the previous call
        returned ERR_OK (Otherwise we will have output an error message in
        flash_status_check() already.)  The original code would only check for
        error bits if flash_status_check() returns ERR_TIMEOUT.
        Patch by Marcus Hall, 23 Aug 2005
      
      * Changes/fixes for drivers/cfi_flash.c:
        - Add CFG_FLASH_PROTECT_CLEAR on drivers/cfi_flash.c
        - Prohibit buffer write when buffer_size is 1 on drivers/cfi_flash.c
        Patch by Sangmoon Kim, 19 Aug 2005
      
      * Fixes for drivers/cfi_flash.c:
        - Fix wrong timeout value usage in flash_status_check()
        - Round write_tout up when converting to msec in flash_get_size()
        - Remove clearing flash status at the end of flash_write_cfibuffer()
          which sets Intel 28F640J3 flash back to command mode on CSB472
        Patch by Tolunay Orkun, 02 July 2005
      79b4cda0
  34. 22 Dec, 2005 1 commit
  35. 13 Oct, 2005 1 commit
  36. 04 Oct, 2005 1 commit
  37. 25 Sep, 2005 1 commit