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

omap_gpmc.c

Blame
  • Forked from Reform / reform-boundary-uboot
    29336 commits behind the upstream repository.
    • 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>
    omap_gpmc.c 29.05 KiB