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

omap_gpmc.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Jeroen Hofstee's avatar
    13fbde6e
    nand, gpmc: fix reading after switching ecc · 13fbde6e
    Jeroen Hofstee authored
    
    The omap_gpmc allows switching ecc at runtime. Since
    the NAND_SUBPAGE_READ flag is only set, it is kept when
    switching to hw ecc, which is not correct. This leads to
    calling chip->ecc.read_subpage which is not a valid
    pointer. Therefore clear the flag when switching ecc so
    reading in hw mode works again.
    
    Cc: Scott Wood <scottwood@freescale.com>
    Cc: Pekon Gupta <pekon@ti.com>
    Cc: Nikita Kiryanov <nikita@compulab.co.il>
    Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
    13fbde6e
    History
    nand, gpmc: fix reading after switching ecc
    Jeroen Hofstee authored
    
    The omap_gpmc allows switching ecc at runtime. Since
    the NAND_SUBPAGE_READ flag is only set, it is kept when
    switching to hw ecc, which is not correct. This leads to
    calling chip->ecc.read_subpage which is not a valid
    pointer. Therefore clear the flag when switching ecc so
    reading in hw mode works again.
    
    Cc: Scott Wood <scottwood@freescale.com>
    Cc: Pekon Gupta <pekon@ti.com>
    Cc: Nikita Kiryanov <nikita@compulab.co.il>
    Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>