Petro Karashchenko
d499ac9d58
nuttx: fix multiple 'FAR', 'CODE' and style issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2024-08-25 19:22:15 +08:00
chao an
664927c86e
mm/alloc: remove all unnecessary cast for alloc
...
Fix the minor style issue and remove unnecessary cast
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-30 14:34:20 +08:00
TimJTi
3cb168b177
GD25 Flash memory - performance enhancements
2023-05-23 01:32:58 +08:00
Alan Carvalho de Assis
54d92d1a0f
Fix typo -EACESS -> -EACCES
2023-05-12 06:29:35 +03:00
Xiang Xiao
9f027208d4
fs: Add model field to geometry and mtd_geometry_s
...
the model is very useful to track the device info
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 11:50:28 -03:00
TimJTi
4075509579
4 byte read mode bit position
...
GG25Q devices have the 4 byte read mode in bit 0 not bit 3 of the status register. This changes allows for both depending on the JEDEC DEVICE ID that is read back.
2022-11-25 10:11:11 -03:00
Petro Karashchenko
3ccb657dc2
nuttx: remove space befone newline in logs
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-27 21:01:19 -06:00
Xiang Xiao
af72376773
fs: Remove magic field from partition_info_s
...
since it is wrong and impossible to return file
system magic number from the block or mtd layer.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-20 09:19:52 -03:00
Xiang Xiao
71269811ca
mtd: Implement BIOC_PARTINFO for all drivers
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-16 10:08:26 -03:00
Xiang Xiao
d1687418db
mtd: Remove the empty MTDIOC_XIPBASE implmentation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-11 09:50:51 -03:00
Gustavo Henrique Nihei
882a0964b3
drivers/mtd: Implement MTDIOC_ERASESTATE for MTD drivers
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-07-17 09:00:41 -07:00
Juha Niskanen
66bdec6754
drivers/mtd/gd25.c: fix finfo format warning
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-13 08:52:29 -06:00
Xiang Xiao
b5f429c88b
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-22 17:37:21 -06:00
Xiang Xiao
ae356001cf
Change all files come from Xiaomi/Pinecone to Apache License 2.0
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-22 17:37:21 -06:00
Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Gregory Nutt
244437257b
drivers/: Within the OS, nxisg_usleep() should be used instead of usleep(). usleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 17:37:39 -06:00
ligd
efaba3be7d
drivers/mtd/gd25.c: Add gd25_lock/unlock to case: enable 4-bytes address.
2019-11-12 09:02:19 -06:00
ligd
bf98b28737
drivers/mtd/gd25.c: Add gd25_lock/unlock to case: enable 4-bytes address
2019-11-12 09:01:10 -06:00
Juha Niskanen
dc3edca5a7
drivers/mtd/gd25.c: spi_devid argument was not used in initialization. Commit 4fc41b55b
to GD25 driver was always using priv->spi_devid initialized to zero by kmm_zalloc(). This commit initializes it from the supplied function argument.
2019-10-31 07:43:21 -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
YanLin Zhu
6d63ba711b
drivers/mtd/gd25.c: Add 4byte address operation for capacity larger than 128Mbit.
2019-10-25 07:31:41 -06:00
YanLin Zhu
8b10b8ad25
drivers/mtd/gd25.c: Add support for GD25 device with 256-Mbit capacity.
2019-09-15 08:19:06 -06:00
zhangbo_a
636d180219
drivers/mtd/gd25.c: Add support for a new FLASH vendor.
2019-09-15 08:17:19 -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
wangyanjiong
25f2bcea38
drivers/mtd: Add gd25 driver
2018-08-28 06:31:54 -06:00