10 Jan, 2013

5 commits

  • Report the usage of the Advanced Sector Protection (PPB) to the user
    upon 'flinfo' command. E.g:

    Bank # 1: CFI conformant flash (16 x 16) Size: 64 MB in 512 Sectors
    AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E2301
    Advanced Sector Protection (PPB) enabled
    Erase timeout: 16384 ms, write timeout: 2 ms
    Buffer write timeout: 5 ms, buffer size: 32 bytes

    Sector Start Addresses:
    FC000000 E FC020000 E RO FC040000 E FC060000 E FC080000 E
    ...

    Signed-off-by: Stefan Roese
    Cc: Anatolij Gustschin
    Cc: Holger Brunck
    Tested-by: Holger Brunck

    Stefan Roese
     
  • Not only Spansion supports the Persistent Protection Bits (PPB) locking.
    Other devices like the Micron JS28F512M29EWx also support this type
    of locking/unlocking. Detection of support is done in the same way as
    done for the Spansion chips - via the 0x49 CFI word.

    This patch enables this PPB protection mechanism for all AMD type
    (AMD commandset) chips.

    Signed-off-by: Stefan Roese
    Cc: Anatolij Gustschin
    Cc: Holger Brunck
    Tested-by: Holger Brunck

    Stefan Roese
     
  • Patch 66863b05 [cfi_flash: add support for Spansion flash PPB sector
    protection] introduced the PPB (Persistent Protection Bit) locking for
    Spansion chips. But right now the sector protection status (locked vs
    unlocked) is set to unlocked for all sectors upon bootup. The real
    sector protection status is ignored.

    This patch now reads the current sector protection status and uses
    it for these AMD/Spansion flash chips.

    Signed-off-by: Stefan Roese
    Cc: Anatolij Gustschin
    Cc: Holger Brunck
    Tested-by: Holger Brunck

    Stefan Roese
     
  • Consolidate manufacturer matching into the function manufact_match()
    and use it.

    Signed-off-by: Stefan Roese
    Tested-by: Holger Brunck

    Stefan Roese
     
  • 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: Angelo Dureghello
    Signed-off-by: Stefan Rose

    Angelo Dureghello
     

09 Jan, 2013

2 commits


08 Jan, 2013

2 commits


06 Jan, 2013

1 commit


22 Dec, 2012

4 commits


20 Dec, 2012

2 commits


18 Dec, 2012

1 commit


17 Dec, 2012

3 commits


16 Dec, 2012

3 commits

  • SH7752 has two fast ethernet controllers and two gigabit ethernet
    controllers. It is similar to SH7757.

    Signed-off-by: Yoshihiro Shimoda
    Acked-by: Nobuhiro Iwamatsu

    Yoshihiro Shimoda
     
  • Marvell 88E1118R has different uid then 88E1118.

    Signed-off-by: Michal Simek
    CC: Andy Fleming
    CC: Zang Roy-R61911
    CC: Kumar Gala

    Michal Simek
     
  • In e1000e driver, Rx descriptor queue is used such that hardware can add only
    one descriptor at a time. So the WTHRESH granularity in RXDCTL should be set
    to single descriptor. This would ensure that every time controller fills a Rx
    descriptor, it is flushed to host memory. Earlier this granularity was in
    cache line units i.e 2 descriptors. This leads to controller always waiting
    for 2 descriptors before flushing them out. But since not more than one Rx BD
    is actually available , the accumulation condition never gets hit.

    Signed-off-by: Ruchika Gupta
    Signed-off-by: Vakul Garg
    Acked-by: Roy Zang

    Ruchika Gupta
     

15 Dec, 2012

1 commit


14 Dec, 2012

1 commit


12 Dec, 2012

15 commits