Skip to content
Snippets Groups Projects
Select Git revision
  • 92fa7f53f1f3f03296f8ffb14bdf1baefab83368
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
8 results

omap_gpmc.h

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • pekon gupta's avatar
    46840f66
    mtd: nand: omap: add support for BCH16_ECC - NAND driver updates · 46840f66
    pekon gupta authored
    
    This patch add support for BCH16_ECC to omap_gpmc driver.
    
    *need to BCH16 ECC scheme*
    With newer SLC Flash technologies and MLC NAND, and large densities, pagesizes
    Flash devices have become more suspectible to bit-flips. Thus stronger
    ECC schemes are required for protecting the data.
    But stronger ECC schemes have come with larger-sized ECC syndromes which require
    more space in OOB/Spare. This puts constrains like;
    (a) BCH16_ECC can correct 16 bit-flips per 512Bytes of data.
    (b) BCH16_ECC generates 26-bytes of ECC syndrome / 512B.
    Due to (b) this scheme can only be used with NAND devices which have enough
    OOB to satisfy following equation:
    OOBsize per page >= 26 * (page-size / 512)
    
    Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
    46840f66
    History
    mtd: nand: omap: add support for BCH16_ECC - NAND driver updates
    pekon gupta authored
    
    This patch add support for BCH16_ECC to omap_gpmc driver.
    
    *need to BCH16 ECC scheme*
    With newer SLC Flash technologies and MLC NAND, and large densities, pagesizes
    Flash devices have become more suspectible to bit-flips. Thus stronger
    ECC schemes are required for protecting the data.
    But stronger ECC schemes have come with larger-sized ECC syndromes which require
    more space in OOB/Spare. This puts constrains like;
    (a) BCH16_ECC can correct 16 bit-flips per 512Bytes of data.
    (b) BCH16_ECC generates 26-bytes of ECC syndrome / 512B.
    Due to (b) this scheme can only be used with NAND devices which have enough
    OOB to satisfy following equation:
    OOBsize per page >= 26 * (page-size / 512)
    
    Signed-off-by: default avatarPekon Gupta <pekon@ti.com>