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

davinci_nand.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • David Brownell's avatar
      154b5484
      davinci_nand chipselect/init cleanup · 154b5484
      David Brownell authored
      
      Update chipselect handling in davinci_nand.c so that it can
      handle 2 GByte chips the same way Linux does:  as one device,
      even though it has two halves with independent chip selects.
      For such chips the "nand info" command reports:
      
        Device 0: 2x nand0, sector size 128 KiB
      
      Switch to use the default chipselect function unless the board
      really needs its own.  The logic for the Sonata board moves out
      of the driver into board-specific code.  (Which doesn't affect
      current build breakage if its NAND support is enabled...)
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      154b5484
      History
      davinci_nand chipselect/init cleanup
      David Brownell authored
      
      Update chipselect handling in davinci_nand.c so that it can
      handle 2 GByte chips the same way Linux does:  as one device,
      even though it has two halves with independent chip selects.
      For such chips the "nand info" command reports:
      
        Device 0: 2x nand0, sector size 128 KiB
      
      Switch to use the default chipselect function unless the board
      really needs its own.  The logic for the Sonata board moves out
      of the driver into board-specific code.  (Which doesn't affect
      current build breakage if its NAND support is enabled...)
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>