1. 20 Jan, 2020 4 commits
    • Lionel Debieve's avatar
      Add SPI-NOR framework · a13550d0
      Lionel Debieve authored
      
      
      SPI-NOR framework is based on SPI-MEM framework using
      spi_mem_op execution interface.
      
      It implements read functions and allows NOR configuration
      up to quad mode.
      Default management is 1 data line but it can be overridden
      by platform.
      It also includes specific quad mode configuration for
      Spansion, Micron and Macronix memories.
      
      Change-Id: If49502b899b4a75f6ebc3190f6bde1013651197f
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Signed-off-by: default avatarChristophe Kerello <christophe.kerello@st.com>
      a13550d0
    • Lionel Debieve's avatar
      Add SPI-NAND framework · c3e57739
      Lionel Debieve authored
      
      
      This framework supports SPI-NAND and is based on the
      SPI-MEM framework for SPI operations. It uses a common high
      level access using the io_mtd.
      
      It is limited to the read functionalities.
      
      Default behavior is the basic one data line operation
      but it could be overridden by platform.
      
      Change-Id: Icb4e0887c4003a826f47c876479dd004a323a32b
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Signed-off-by: default avatarChristophe Kerello <christophe.kerello@st.com>
      c3e57739
    • Lionel Debieve's avatar
      Add SPI-MEM framework · 05e6a563
      Lionel Debieve authored
      
      
      This framework supports SPI operations using a common
      spi_mem_op structure:
       - command
       - addr
       - dummy
       - data
      
      The framework manages SPI bus configuration:
       - speed
       - bus width (Up to quad mode)
       - chip select
      
      Change-Id: Idc2736c59bfc5ac6e55429eba5d385275ea3fbde
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Signed-off-by: default avatarChristophe Kerello <christophe.kerello@st.com>
      05e6a563
    • Lionel Debieve's avatar
      Add raw NAND framework · b114abb6
      Lionel Debieve authored
      
      
      The raw NAND framework supports SLC NAND devices.
      
      It introduces a new high level interface (io_mtd) that
      defines operations a driver can register to the NAND framework.
      This interface will fill in the io_mtd device specification:
      	- device_size
              - erase_size
      that could be used by the io_storage interface.
      
      NAND core source file integrates the standard read loop that
      performs NAND device read operations using a skip bad block strategy.
      A platform buffer must be defined in case of unaligned
      data. This buffer must fit to the maximum device page size
      defined by PLATFORM_MTD_MAX_PAGE_SIZE.
      
      The raw_nand.c source file embeds the specific NAND operations
      to read data.
      The read command is a raw page read without any ECC correction.
      This can be overridden by a low level driver.
      No generic support for write or erase command or software
      ECC correction.
      
      NAND ONFI detection is available and can be enabled using
      NAND_ONFI_DETECT=1.
      For non-ONFI NAND management, platform can define required
      information.
      
      Change-Id: Id80e9864456cf47f02b74938cf25d99261da8e82
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Signed-off-by: default avatarChristophe Kerello <christophe.kerello@st.com>
      b114abb6
  2. 17 Jan, 2020 4 commits
  3. 16 Jan, 2020 1 commit
  4. 15 Jan, 2020 13 commits
  5. 14 Jan, 2020 9 commits
  6. 13 Jan, 2020 4 commits
  7. 12 Jan, 2020 2 commits
  8. 10 Jan, 2020 3 commits