Gustavo Henrique Nihei
330eff36d7
sourcefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Alin Jerpelea
e5b6305f4a
drivers: Author Gregory Nutt: update 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-03-04 18:32:27 -08:00
Xiang Xiao
c8d4a4c76a
mtd/progmem: Add up_progmem_read callback guarded by ARCH_HAVE_PROGMEM_READ
...
since sometime platform code need do some special action during memcpy
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id108ef4232376feab3e37e9b3aee9a7927a03bd4
2021-03-03 13:47:59 -08:00
Xiang Xiao
0aa78ccc81
mtd/progmem: Let MTD_PROGMEM depend on ARCH_HAVE_PROGMEM
...
and remove the reference of CONFIG_ARCH_HAVE_PROGMEM from code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I89a73f138d54718ee8bc9345958675d7a2a34ba8
2021-03-03 13:47:59 -08:00
Gustavo Henrique Nihei
55d66f60a3
drivers: Fix typos reported by codespell
2021-02-25 18:57:18 -08:00
Byron Ellacott
9a1b726bae
fs: change geometry types from size_t
to blkcnt_t
and blksize_t
...
This change reflects that the geometry isn't related to the largest
allocatable unit on the platform.
Calls to read and write block devices are also affected and have
been updated.
2021-02-18 20:38:22 -08:00
Alexander Vasiljev
dbec1cf694
drivers:mtd:smart.c: entryname is declared and should be under ifdef
2021-02-04 10:05:59 -08:00
Alexander Vasiljev
9146878dad
drivers:mtd:w25qxxxjv.c: use different protect bits and address lengths for different chips
2021-02-04 10:05:59 -08:00
Alexander Vasiljev
96cbd1d8a1
drivers: mtd: w25qxxxjv.c : W25Q256's sector count is 8192
2021-01-29 06:47:03 -08:00
Alin Jerpelea
6d786bedb5
drivers: mtd: mx35.c: 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
2d8b193df4
drivers: mtd: fix nxstyle errors
...
Fix nxstyle errors to pass the CI errors.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-27 18:40:00 -08:00
Alin Jerpelea
95adb15824
drivers: mtd: nxstyle errors fix
...
Fixed to pass the nxstyle CI erros
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-27 18:40:00 -08: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
Xiang Xiao
0536953ded
Kernel module should prefer functions with nx/kmm prefix
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-13 08:57:58 +01:00
Juha Niskanen
93991670af
drivers/mtd/w25.c: fix finfo format warning
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-13 08:52:29 -06: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
YAMAMOTO Takashi
6c269e8360
drivers/mtd/mtd_onfi.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
00bc0ff6ba
drivers/mtd/sst25.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
012a34aef7
drivers/mtd/sst25.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
d1b5ab99ec
drivers/mtd/sector512.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
cb52176615
drivers/mtd/sector512.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
yjdwbj
6aba444359
Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro.
...
Fixed: SDIO Interface hanging after inserted SD Card.
Disabled the CONFIG_SYSTEMTICK_EXTCLK, using nxsig_usleep instead of usleep
2020-12-04 22:41:46 -08:00
YAMAMOTO Takashi
f71b44e266
drivers/mtd/n25qxxx.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
55590318a4
drivers/mtd/n25qxxx.c: Appease nxstyle
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
5749599b0b
drivers/mtd/mx25rxx.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
f97f6a6a36
drivers/mtd/mx25rxx.c: Appease nxstyle
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
57f45a07c4
drivers/mtd/at25.c: Fix a syslog format
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
cac4f384e5
drivers/mtd/at25.c: Appease nxstyle
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
819e13888c
drivers/mtd/at24xx.c: Fix a syslog format
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
99f545f5c3
drivers/mtd/at24xx.c: Appease nxstyle
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
723f590345
drivers/mtd/m25px.c: Fix a syslog format
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
ab7ae96a1e
drivers/mtd/m25px.c: Appease nxstyle
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
7f32cfa720
drivers/mtd/mtd_rwbuffer.c: Fix a syslog format
2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
5b25cf8e47
drivers/mtd/mtd_rwbuffer.c: Appease nxstyle
2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
ce228e5de5
drivers/mtd/smart.c: Fix syslog formats
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
2aaee783c9
drivers/mtd/sst25xx.c: Fix syslog formats
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
3ca8e3ff37
drivers/mtd/sst25xx.c: Appease nxstyle
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
a11c987699
drivers/mtd/smart.c: Fix syslog formats
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
c807ad9220
drivers/mtd/smart.c: Appease nxstyle
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
b48408cdeb
drivers/mtd/ftl.c: Fix syslog formats
2020-11-21 19:38:32 -08:00
YAMAMOTO Takashi
b286902266
drivers/mtd/ftl.c: Fix syslog formats
2020-11-20 22:22:53 -08:00
Juha Niskanen
23495a7fa2
drivers/mtd/mtd_progmem.c: fix progmem_log2 parameter type to match prototype
...
If size_t != uint32_t, this can give a build error:
mtd/mtd_progmem.c:134:16: error: conflicting types for 'progmem_log2'
134 | static int32_t progmem_log2(uint32_t blocksize)
| ^~~~~~~~~~~~
mtd/mtd_progmem.c:82:16: note: previous declaration of 'progmem_log2' was here
82 | static int32_t progmem_log2(size_t blocksize);
| ^~~~~~~~~~~~
Makefile:118: recipe for target 'mtd_progmem.o' failed
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-19 07:43:07 -08:00
YAMAMOTO Takashi
565a67262b
drivers/mtd/mtd_partition.c: Fix printf format warnings
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4c663c9713
drivers/mtd/mtd_partition.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
Xiang Xiao
73723dd31c
drivers/rwbuffer: Avoid ftl driver allocate the temporary erase buffer
...
If the buffer to be flushed isn't multipled by the erase size,
let's pad the buffer proactively to avoid the allocation in ftl.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I6d7904aafab93a7886a594319d65826b81cd3cd1
3Change-Id: I88276149cc7826e7416929ca60b06314e96079a6
2020-08-29 02:57:36 -07: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
Alan C. Assis
a7a272661e
Char drivers should return -ENOTTY if CMD is not recognized
2020-06-06 14:51:02 -03:00
Juha Niskanen
d666aa623f
drivers/mtd/filemtd.c: fix build error
2020-05-11 09:25:45 -04:00
Xiang Xiao
517974787f
Rename clock_systime[r|spec] to clock_systime_[ticks|timespec]
...
follow up the new naming convention:
https://cwiki.apache.org/confluence/display/NUTTX/Naming+of+OS+Internal+Functions
2020-05-10 14:35:50 -06:00