Skip to content
Snippets Groups Projects
  1. Apr 07, 2011
  2. Sep 20, 2010
    • 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
  3. Aug 26, 2009
  4. Apr 04, 2009
  5. Feb 11, 2009
  6. Feb 05, 2009
    • 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
  7. Nov 24, 2008
  8. Oct 18, 2008
  9. May 20, 2008
    • 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
  10. Dec 13, 2007
  11. Dec 08, 2007
  12. Aug 14, 2007
  13. Mar 18, 2007
  14. Jan 24, 2007
  15. Dec 24, 2006
  16. Nov 13, 2006
  17. Oct 03, 2006
    • 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
  18. May 30, 2006
    • 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
  19. Apr 01, 2006
    • 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
  20. Mar 12, 2006
    • 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
  21. Mar 01, 2006
  22. Feb 28, 2006
    • 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
  23. Dec 22, 2005
  24. Oct 13, 2005
  25. Oct 04, 2005
  26. Sep 25, 2005
  27. Dec 16, 2004
  28. Nov 21, 2004
  29. Jul 10, 2004
    • Wolfgang Denk's avatar
      * Patch by Fred Klatt, 25 Jun 2004: · 8b07a110
      Wolfgang Denk authored
        Add support for WindRiver's SBC8560 board
      
      * Patch by Nicolas Lacressonniere, 24 Jun 2004
        Small Bugs fixes for "at91rm9200dk" board:
        - Timing modifications for SPI DataFlash access
        - Fix NAND flash detection bug
      
      * Patch by Nicolas Lacressonniere, 24 Jun 2004:
        Add Support for Flash AT49BV6416 for AT91RM9200DK board
      8b07a110
  30. Jun 10, 2004
  31. Jun 09, 2004
    • Wolfgang Denk's avatar
      * Patch by Yuli Barcohen, 09 Jun 2004: · 2d24a3a7
      Wolfgang Denk authored
        Add support for Analogue&Micro Adder87x and the older AdderII board.
      
      * Patch by Ming-Len Wu, 09 Jun 2004:
        Add suppport for MC9328 (Dargonball) CPU and Motorola MX1ADS board
      2d24a3a7
    • Wolfgang Denk's avatar
      Patch by Thomas Viehweger, 14 May 2004: · aa5590b6
      Wolfgang Denk authored
      - flash.h: more flash types added
      - immap_8260.h: some bits added (useful for RMII)
      - cmd_coninfo.c: typo corrected, printf -> puts
      - reduced size by replacing spaces with tab
      aa5590b6
  32. Jun 08, 2004
  33. Mar 23, 2004
    • Wolfgang Denk's avatar
      * Add start-up delay to make sure power has stabilized before · efa329cb
      Wolfgang Denk authored
        attempting to switch on USB on SX1 board.
      
      * Patch by Josef Wagner, 18 Mar 2004:
        - Add support for MicroSys XM250 board (PXA255)
        - Add support for MicroSys PM828 board (MPC8280)
        - Add support for 32 MB Flash on PM825/826
        - new SDRAM refresh rate for PM825/PM826
        - added support for MicroSys PM520 (MPC5200)
        - replaced Query by Identify command in CPU86/flash.c
          to support 28F160F3B
      
      * Fix wrap around problem with udelay() on ARM920T
      
      * Add support for Macronix flash on TRAB board
      efa329cb
  34. Mar 14, 2004
    • Wolfgang Denk's avatar
      * Patch by Tolunay Orkun, 5 Mar 2004: · 4d13cbad
      Wolfgang Denk authored
        Fix early board initialization for Cogent CSB272 board
      
      * Patch by Ed Okerson, 3 Mar 2004:
        fix CFI flash writes for little endian systems
      
      * Patch by Reinhard Meyer, 01 Mar 2004:
        generalize USB and IDE support for MPC5200 with according
        changes to IceCube.h and TOP5200.h
        add Am29LV256 256 MBit FLASH support for TOP5200 boards
        add info about USB and IDE to README
      4d13cbad
  35. Feb 12, 2004
    • Wolfgang Denk's avatar
      * Some code cleanup · bf9e3b38
      Wolfgang Denk authored
      * Patch by Josef Baumgartner, 10 Feb 2004:
        Fixes for Coldfire port
      
      * Patch by Brad Kemp, 11 Feb 2004:
        Fix CFI flash driver problems
      bf9e3b38
Loading