Skip to content
Snippets Groups Projects
  1. Apr 21, 2011
    • Aaron Williams's avatar
      cfi_flash driver - Add delay after reset command · a90b9575
      Aaron Williams authored
      
      I ran into a problem where the reset was failing except when I enabled
      debugging support.  After talking with Garret Swalling at Spansion I
      was told that the GL-N series of devices require a 500ns wait for the
      reset to complete.  The below patch adds a 1us delay after all reset
      commands.
      
      -Aaron Williams
      
      Signed-off-by: default avatarAaron Williams <aaron.williams@caviumnetworks.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      a90b9575
    • Heiko Schocher's avatar
      mtd, cfi: read AMD 3-byte (expanded) device ids on 16bit devices · 5b448adb
      Heiko Schocher authored
      
      tested on the a4m072 board with a S29GL512P flash.
      
      flinfo without this patch
      Bank # 1: CFI conformant flash (16 x 16)  Size: 32 MB in 256 Sectors
        AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E
        Erase timeout: 16384 ms, write timeout: 2 ms
        Buffer write timeout: 5 ms, buffer size: 32 bytes
      [...]
      
      flinfo with this patch
      Bank # 1: CFI conformant flash (16 x 16)  Size: 32 MB in 256 Sectors
        AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E2301
        Erase timeout: 16384 ms, write timeout: 2 ms
        Buffer write timeout: 5 ms, buffer size: 32 bytes
      [...]
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      5b448adb
    • Mike Frysinger's avatar
      cfi_flash: reverse geometry for M29W800DT parts · 6a011ce8
      Mike Frysinger authored
      
      The M29W800DT parts also report their geometry with the sector layout
      reversed.  So add that ID to the flash_fixup_stm function.
      
      Otherwise, we get:
      bfin> flinfo
      
      Bank # 1: CFI conformant FLASH (16 x 16)  Size: 1 MB in 19 Sectors
        AMD Standard command set, Manufacturer ID: 0x20, Device ID: 0x22D7
        Erase timeout: 8192 ms, write timeout: 1 ms
      
        Sector Start Addresses:
        20000000        20004000        20006000        20008000        20010000
        20020000        20030000        20040000        20050000        20060000
        20070000        20080000        20090000        200A0000        200B0000
        200C0000        200D0000        200E0000        200F0000
      
      Reported-by: default avatarJianxi Fu <fujianxi@gmail.com>
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      6a011ce8
  2. Apr 20, 2011
  3. Apr 18, 2011
  4. Apr 15, 2011
  5. Apr 14, 2011
    • Nick Thompson's avatar
      I2C: OMAP: detect more devices when probing an i2c bus · 0e57968a
      Nick Thompson authored
      
      The omap24xx driver only seems to support devices that have a single subaddress
      byte. With these types of devices, the first access in a bus transaction is
      usually a write (writes the subaddress) followed by either a read or write to
      access the devices registers.
      
      Many such devices will respond to a read as the first access, but there are at
      least some that will NACK such a read. (e.g. ADV7180.)
      
      The probe function attempts to detect a devices ACK to a read access only and
      fails to find devices that NACK a read.
      
      This commit modifies the probe function to start a write instead. This detects
      devices that respond to reads (since they must also respond to writes) as well
      as those that only respond to writes. The bus is immediately set to idle after a
      (N)ACK avoiding actually writing anything to the device.
      
      Signed-off-by: default avatarNick Thompson <nick.thompson@ge.com>
      0e57968a
  6. Apr 13, 2011
Loading