Skip to content
This project is mirrored from https://github.com/u-boot/u-boot.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Jun 23, 2013
    • Jagan Teki's avatar
      sf: Update sf read to support all sizes of flashes · fc207ee4
      Jagan Teki authored
      
      
      This patch updated the spi_flash read func to support all
      sizes of flashes using bank reg addr facility.
      
      The same support has been added in below patch for erase/write
      spi_flash functions:
      "sf: Support all sizes of flashes using bank addr reg facility"
      (sha1: c956f600cbb0943d0afe1004cdb503f4fcd8f415)
      
      With these new updates on sf framework, the flashes which has < 16MB
      are not effected as per as performance is concern and but the
      u-boot.bin size incrased ~460 bytes.
      
      sf update(for first 16MBytes), Changes before:
      U-Boot> sf update 0x1000000 0x0 0x1000000
      - N25Q256
        16777216 bytes written, 0 bytes skipped in 199.72s, speed 86480 B/s
      - W25Q128BV
        16777216 bytes written, 0 bytes skipped in 351.739s, speed 48913 B/s
      - S25FL256S_64K
        16777216 bytes written, 0 bytes skipped in 65.659s, speed 262144 B/s
      
      sf update(for first 16MBytes), Changes before:
      U-Boot> sf update 0x1000000 0x0 0x1000000
      - N25Q256
        16777216 bytes written, 0 bytes skipped in 198.953s, speed 86480 B/s
      - W25Q128BV
        16777216 bytes written, 0 bytes skipped in 350.90s, speed 49200 B/s
      - S25FL256S_64K
        16777216 bytes written, 0 bytes skipped in 66.521s, speed 262144 B/s
      
      Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      fc207ee4
    • Jagan Teki's avatar
      sf: Update sf to support all sizes of flashes · e3ff9d51
      Jagan Teki authored
      
      
      Updated the spi_flash framework to handle all sizes of flashes
      using bank/extd addr reg facility
      
      The current implementation in spi_flash supports 3-byte address mode
      due to this up to 16Mbytes amount of flash is able to access for those
      flashes which has an actual size of > 16MB.
      
      As most of the flashes introduces a bank/extd address registers
      for accessing the flashes in 16Mbytes of banks if the flash size
      is > 16Mbytes, this new scheme will add the bank selection feature
      for performing write/erase operations on all flashes.
      
      Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      e3ff9d51
    • Jagan Teki's avatar
      sf: Read flash bank addr register at probe time · e612ddf5
      Jagan Teki authored
      
      
      Read the flash bank addr register to get the state of bank in
      a perticular flash. and also bank write happens only when there is
      a change in bank selection from user.
      
      bank read only valid for flashes which has > 16Mbytes those are
      opearted in 3-byte addr mode, each bank occupies 16Mytes.
      
      Suppose if the flash has 64Mbytes size consists of 4 banks like
      bank0, bank1, bank2 and bank3.
      
      Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      e612ddf5
    • Jagan Teki's avatar
      sf: Discover the bank addr commands · cf6b11dc
      Jagan Teki authored
      
      
      Bank/Extended addr commands are specific to particular
      flash vendor so discover them based on the idocode0.
      
      Assign the discovered bank commands to spi_flash members
      so-that the bank read/write will use their specific operations.
      
      Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
      cf6b11dc
    • Jagan Teki's avatar
      sf: Add bank address register writing support · c9fcb59d
      Jagan Teki authored
      This patch provides support to program a flash bank address
      register.
      
      extended/bank address register contains an information to access
      the 4th byte addressing in 3-byte address mode.
      
      reff' the spec for more details about bank addr register
      in Page-63, Table 8.16
      http://www.spansion.com/Support/Datasheets/S25FL128S_256S_00.pdf
      
      
      
      Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      c9fcb59d
  2. Jun 22, 2013
  3. Jun 19, 2013
    • Jim Lin's avatar
      NET: Fix system hanging if NET device is not installed · 7315cfd9
      Jim Lin authored
      
      
      If we try to boot from NET device, NetInitLoop in net.c will be invoked.
      If NET device is not installed, eth_get_dev() function will return
      eth_current value, which is NULL.
      When NetInitLoop is called, "eth_get_dev->enetaddr" will access
      restricted memory area and therefore cause hanging.
      This issue is found on Tegra30 Cardhu platform after adding
      CONFIG_CMD_NET and CONFIG_CMD_DHCP in config header file.
      
      Signed-off-by: default avatarJim Lin <jilin@nvidia.com>
      Tested-by: default avatarStephen Warren <swarren@nvidia.com>
      7315cfd9
  4. Jun 17, 2013
  5. Jun 14, 2013
  6. Jun 13, 2013
  7. Jun 12, 2013
Loading