]> git.baikalelectronics.ru Git - arm-tf.git/commit
Add SPI-NOR framework
authorLionel Debieve <lionel.debieve@st.com>
Tue, 24 Sep 2019 15:39:14 +0000 (17:39 +0200)
committerLionel Debieve <lionel.debieve@st.com>
Mon, 20 Jan 2020 10:32:59 +0000 (11:32 +0100)
commita13550d0ec5d5ad5035bb7120d8ddac4a4fb2113
tree810a3145902c728056655c7aca5d367f14c7b1ff
parentc3e57739043d8557ce21fbb6627a6e09fbd70e5c
Add SPI-NOR framework

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: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
drivers/mtd/nor/spi_nor.c [new file with mode: 0644]
include/drivers/spi_nor.h [new file with mode: 0644]