blob: 68bd7ce5f54737bf3884d57dd67c5ebbd1be752d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
menuconfig RT_USING_MTD_NOR
bool "Using MTD Nor Flash device drivers"
default n
help
Enable the Memory Technology Device (MTD) NOR layer so SPI/QSPI or
parallel NOR flashes can be registered and exposed to the filesystem or
FAL. Select this when your design stores code/data in NOR.
config RT_USING_MTD_NOR_CFI
bool "CFI Flash driver"
depends on RT_USING_DM
depends on RT_USING_MTD_NOR
default n
config RT_USING_MTD_NOR_SPI
bool "SPI Nor Flash driver"
depends on RT_USING_DM
depends on RT_USING_MTD_NOR
depends on RT_USING_SPI
select RT_USING_SFUD
select RT_SFUD_USING_SFDP
select RT_SFUD_USING_FLASH_INFO_TABLE
select SFUD_USING_QSPI if RT_USING_QSPI
default n
menuconfig RT_USING_MTD_NAND
bool "Using MTD Nand Flash device drivers"
default n
help
Enable NAND flash management (bad-block handling, ECC hooks, partitions).
Requires platform-specific ECC support and is needed for raw NAND storage.
if RT_USING_MTD_NAND
config RT_MTD_NAND_DEBUG
bool "Enable MTD Nand operations debug information"
default n
help
Print verbose details for each NAND read/write/erase operation to aid
bring-up. Disable in production to avoid large log output.
endif
|