Kconfig 1.3 KB

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