FlexSPI NOR driver

This commit is contained in:
jturnsek
2021-04-06 21:52:53 +02:00
committed by Alan Carvalho de Assis
parent 8334843bad
commit 7453e76d98
11 changed files with 3184 additions and 1 deletions
+14 -1
View File
@@ -90,7 +90,8 @@
* Public Types
****************************************************************************/
struct qspi_dev_s; /* Forward reference */
struct qspi_dev_s; /* Forward reference */
struct flexspi_dev_s; /* Forward reference */
/* The following defines the geometry for the device. It treats the device
* as though it were just an array of fixed size blocks. That is most likely
@@ -594,6 +595,18 @@ FAR struct mtd_dev_s *n25qxxx_initialize(FAR struct qspi_dev_s *qspi,
FAR struct mtd_dev_s *w25qxxxjv_initialize(FAR struct qspi_dev_s *qspi,
bool unprotect);
/****************************************************************************
* Name: flexspi_nor_initialize
*
* Description:
* Create an initialized MTD device instance for the FlexSPI-based
* FLASH part.
*
****************************************************************************/
FAR struct mtd_dev_s *flexspi_nor_initialize(FAR struct flexspi_dev_s
*flexspi, bool unprotect);
/****************************************************************************
* Name: blockmtd_initialize
*
File diff suppressed because it is too large Load Diff