Alin Jerpelea
7f0aefa632
include: nxstyle fixes
...
fixes for nxstyle warnings reported by the nexstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
110632293c
LICENSE: revert to the original license from Atmel Corporation
...
revert to the original license from Atmel Corporation and add the files to
the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Xiang Xiao
6b6c11f0ad
mtd: Replace MTDIOC_XIPBASE with BIOC_XIPBASE
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-12 08:01:29 -03:00
Xiang Xiao
177e1ced3f
Revert "mtd: Add MTDIOC_FLUSH IOCTL like MTDIOC_XIPBASE"
...
to simplify flt and partion layer implementation
This reverts commit 2e49e1bc5c .
2021-08-12 08:01:29 -03:00
Xiang Xiao
f4addbd640
mtd: Replace MTDIOC_PARTINFO with BIOC_PARTINFO
...
to simplify flt and partion layer implementation
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-12 08:01:29 -03:00
Gustavo Henrique Nihei
cddd9c9c38
mtd: Enable retrieval of MTD partition information
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-10 19:45:14 -07:00
Gustavo Henrique Nihei
30cb497fe1
mtd: Add MTDIOC_ERASESTATE command for retrieving erase state value
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-07-17 09:00:41 -07:00
Xiang Xiao
2e49e1bc5c
mtd: Add MTDIOC_FLUSH IOCTL like MTDIOC_XIPBASE
...
since the old design reuse BIOC_FLUSH for
MTD device which make some confusion
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-15 13:26:45 -03:00
jturnsek
f57ff30545
Removing FLexSPI NOR driver
2021-04-12 17:22:14 -03:00
jturnsek
7453e76d98
FlexSPI NOR driver
2021-04-12 11:35:44 -03:00
Alin Jerpelea
231b8518b7
NuttX: Ken Pettit: update licenses to Apache
...
Ken Pettit has submitted the ICLA and we can migrate the licenses
to Apache.
Sebastien Lorquet has submitted the ICLA and we can migrate the licenses
to Apache.
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:42:19 -05:00
Alin Jerpelea
a8a1308240
include: nuttx: update licenses to Apache 2.0
...
The SGA from Gregory Nutt had been submitted and we can replace
the licenses to Apache 2.0
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-01 11:21:57 -03:00
Alin Jerpelea
822fbe5c10
drivers: mtd: mtd_nandscheme: mix case identifier fix
...
nxstyle fix for mix case identifier.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-27 18:40:00 -08:00
Alin Jerpelea
647adf9fcc
include: nuttx: mtd: nxstyle fixes
...
Nxstyle fixes to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-26 05:11:58 -08:00
Subhra Sankha Sarkar
6d32ad04dd
Minor fixes & NuttX coding standards compliance
2020-11-07 06:41:40 -03:00
Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Xiang Xiao
bd4e8e19d3
Run codespell -w against all files
...
and fix the wrong correction
2020-02-22 14:45:07 -06:00
Xiang Xiao
5c80b94820
Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
...
Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
2020-02-01 08:27:30 -06:00
kyChu
261a6ff758
Author: Gregory Nutt <gnutt@nuttx.org>
...
Misc changes made following recommendatinos of tools/nxstyle.
Author: kyChu <hello.kychu@gmail.com>
drivers/mtd/w25qxxxjv.c: Add QSPI-based Winbond NOR FLASH driver
drivers/mtd/Kconfig: include w25qxxxjv mtd driver to menuconfig
mtd/mtd.h: add function prototype of w25qxxxjv_initialize
2019-11-20 17:25:40 -06:00
Matouš Pokorný
4d59d6cbcc
drivers/mtd/mtd_progmem.c: Small typo fix.
2019-11-07 07:46:22 -06:00
Xiang Xiao
4fc41b55b3
drivers/mtd/gd25.c and gd5f.c: Change missed in previous patch set. Without this change, the compiler will complain that spi_devid cannot be found.
2019-10-29 07:48:17 -06:00
Matous Pokorny
c3edc8093c
include/nuttx/mtd/mtd.h: Fix a copy-paste error in function header comments.
2019-09-23 06:27:14 -06:00
YanLin Zhu
bcdf9074fe
drivers/mtd/gd5f.c: Add gigadevice SPI NAND FLASH driver.
2019-09-15 08:33:22 -06:00
Ken Pettit
baab6dd1bd
Extends the MTD configdata device with the following features / additions:
...
1. Configurable option to use named config items instead of enumerated ID/Instance numbers.
2. Ability to iterate through the existing configdata items in the /dev/config device.
3. Ability to "unset" a configdata item.
4. Ability to perform "flash_eraseall" on the /dev/config device.
2018-12-20 14:14:40 -06:00
Xiang Xiao
65177b3344
drivers/mtd/ftl.c: Change ftl_initialize_by_name to ftl_initialize_by_path
2018-11-09 08:15:57 -06:00
Xiang Xiao
247414c6ad
drivers/mtd and other MTD drivers: Remove mtd_procfsoperations since we can now get the same information from inode
2018-11-08 09:46:11 -06:00
Xiang Xiao
8b5ac497ad
drivers/mtd/ftl.c: Support initialization of an FTL block device with a custom name
2018-08-28 07:15:57 -06:00
wangyanjiong
25f2bcea38
drivers/mtd: Add gd25 driver
2018-08-28 06:31:54 -06:00
Michał Łyszczek
16ce1552bc
/include/nuttx/mtd/configdata.h: Fix copy-paste comment in configdata.h
2018-05-08 09:09:47 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Ekaterina Kovylova
59a5c24739
drivers/mtd: Add a driver for Macronix MX35LFxGE4AB serial NAND flash.
2017-11-29 07:15:36 -06:00
Gregory Nutt
bc40403516
There was a reference counting problem in the TPC logic of net_clone(). net_clone() which is the common logic underlying dup() and dup2() for sockets. When net_clone() calls net_start_monitor() and net_start_monitor() returns a failure (because the underlying TCP connection) then net_clone() must back out the reference count on the structure. Problem noted by Pascal Speck and this implementation of the solution is based on his suggestion.
2017-10-19 11:09:23 -06:00
Jussi Kivilinna
5ef548677a
drivrs/mtd/filemtd.c: add block device MTD interface. Block MTD interface allows using block device directly as MTD instead of having to use file-system in between. NOTE that this provides the opposite capability of FTL which will let you use an MTD interface directly as a block device.
2017-10-19 09:53:41 -06:00
Simon Piriou
b1f50490bd
MTD: Add driver for Macronix QuadSPI flash memory
2017-08-06 10:51:17 -06:00
Gregory Nutt
28e9fe32b6
include/: Remove dangling space at the end of lines.
2017-06-28 13:30:08 -06:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Juha Niskanen
4f18b40429
mtd/config: erase block between block read and write
2017-05-10 08:25:39 -06:00
Aleksandr Vyhovanec
b0f973d901
MTD: SPI-based driver for Macronix MX25L3233F or MX25L6433F.
2016-09-02 11:00:04 -06:00
Gregory Nutt
10fff9011a
Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h
2016-07-21 13:34:54 -06:00
Gregory Nutt
03c44c3583
Merged in marten_svanfeldt/nuttx-public/for_upstream/is25 (pull request #44 )
...
Added driver of IS25xP SPI flash devices
2016-06-09 09:30:34 -06:00
Marten Svanfeldt
edeb2eed4e
Added driver of IS25xP SPI flash devices
...
Based on sst25xx driver
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2016-06-09 05:13:06 +02:00
Gregory Nutt
a18dbfda6e
Remove drivers/mtd/flash_eraseall.c. It is not used in the OS and is just a dumb wrapper around the MDIOC_BULKERASE IOCTL call.
2016-06-02 10:44:13 -06:00
Sebastien Lorquet
f4fa4799f7
Add a driver for SST26F spi/qspi flash devices (SPI mode only)
2016-05-10 11:09:15 -06:00
Gregory Nutt
e8f0965d35
Mostly cosmetic changes from review of last PR
2016-04-17 14:13:44 -06:00
ziggurat29
1b9d837df3
add MTD support for Micron N25Qxxx family of QSPI flash
2016-04-17 12:20:07 -05:00
Gregory Nutt
c7e7bda830
MTD struct mtd_geometry_s: Increase the size of blocksize again. Yes, there are devices with block size greater than 64KB.
2016-03-09 07:42:34 -06:00
Gregory Nutt
3a781a2d3f
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:36:47 -06:00
Ken Pettit
5821af1bbe
drivers/mtd: Add support for /dev/smart loop device. From Ken Petit
2015-11-28 09:00:26 -06:00
Ken Pettit
d4a58af380
drivers/mtd/mtd/mtd_procfs/c and include/nuttx/mtd/mtd.h: Add an interface to un-regiser an MTD procfs entry.
...
drivers/mtd/filemtd.c: New new MTD conversion layer that will convert a regular file (or driver file) to an MTD device. This is useful for testing on the simulation using the hostfs.
From Ken Petit
2015-11-25 14:46:28 -06:00
Gregory Nutt
e61d51dab3
If multiple AT24xx devices are supported and resources are allocated, then it may also be necessary to free those resource
2015-11-17 08:39:06 -06:00