Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. menu "MTD Support"
  2. config MTD_PARTITIONS
  3. bool
  4. config MTD
  5. bool "Enable MTD layer"
  6. help
  7. Enable the MTD stack, necessary to interact with NAND, NOR,
  8. SPI-NOR, SPI-NAND, OneNAND, etc.
  9. config DM_MTD
  10. bool "Enable Driver Model for MTD drivers"
  11. depends on DM
  12. help
  13. Enable driver model for Memory Technology Devices (MTD), such as
  14. flash, RAM and similar chips, often used for solid state file
  15. systems on embedded devices.
  16. config MTD_NOR_FLASH
  17. bool "Enable parallel NOR flash support"
  18. help
  19. Enable support for parallel NOR flash.
  20. config SYS_MTDPARTS_RUNTIME
  21. bool "Allow MTDPARTS to be configured at runtime"
  22. depends on MTD
  23. help
  24. This option allows to call the function board_mtdparts_default to
  25. dynamically build the variables mtdids and mtdparts at runtime.
  26. config FLASH_CFI_DRIVER
  27. bool "Enable CFI Flash driver"
  28. help
  29. The Common Flash Interface specification was developed by Intel,
  30. AMD and other flash manufactures. It provides a universal method
  31. for probing the capabilities of flash devices. If you wish to
  32. support any device that is CFI-compliant, you need to enable this
  33. option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
  34. for more information on CFI.
  35. config CFI_FLASH
  36. bool "Enable Driver Model for CFI Flash driver"
  37. depends on DM_MTD
  38. select FLASH_CFI_DRIVER
  39. help
  40. The Common Flash Interface specification was developed by Intel,
  41. AMD and other flash manufactures. It provides a universal method
  42. for probing the capabilities of flash devices. If you wish to
  43. support any device that is CFI-compliant, you need to enable this
  44. option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
  45. for more information on CFI.
  46. config SYS_FLASH_USE_BUFFER_WRITE
  47. bool "Enable buffered writes to flash"
  48. depends on FLASH_CFI_DRIVER
  49. help
  50. Use buffered writes to flash.
  51. config FLASH_CFI_MTD
  52. bool "Enable CFI MTD driver"
  53. depends on FLASH_CFI_DRIVER
  54. help
  55. This option enables the building of the cfi_mtd driver
  56. in the drivers directory. The driver exports CFI flash
  57. to the MTD layer.
  58. config SYS_FLASH_PROTECTION
  59. bool "Use hardware flash protection"
  60. depends on FLASH_CFI_DRIVER
  61. help
  62. If defined, hardware flash sectors protection is used
  63. instead of U-Boot software protection.
  64. config SYS_FLASH_CFI
  65. bool "Define extra elements in CFI for flash geometry"
  66. depends on FLASH_CFI_DRIVER
  67. help
  68. Define if the flash driver uses extra elements in the
  69. common flash structure for storing flash geometry.
  70. config ALTERA_QSPI
  71. bool "Altera Generic Quad SPI Controller"
  72. depends on DM_MTD
  73. help
  74. This enables access to Altera EPCQ/EPCS flash chips using the
  75. Altera Generic Quad SPI Controller. The controller converts SPI
  76. NOR flash to parallel flash interface. Please find details on the
  77. "Embedded Peripherals IP User Guide" of Altera.
  78. config FLASH_PIC32
  79. bool "Microchip PIC32 Flash driver"
  80. depends on MACH_PIC32 && DM_MTD
  81. help
  82. This enables access to Microchip PIC32 internal non-CFI flash
  83. chips through PIC32 Non-Volatile-Memory Controller.
  84. config RENESAS_RPC_HF
  85. bool "Renesas RCar Gen3 RPC HyperFlash driver"
  86. depends on RCAR_GEN3 && DM_MTD
  87. help
  88. This enables access to HyperFlash memory through the Renesas
  89. RCar Gen3 RPC controller.
  90. config HBMC_AM654
  91. bool "HyperBus controller driver for AM65x SoC"
  92. depends on SYSCON
  93. help
  94. This is the driver for HyperBus controller on TI's AM65x and
  95. other SoCs
  96. source "drivers/mtd/nand/Kconfig"
  97. source "drivers/mtd/spi/Kconfig"
  98. source "drivers/mtd/ubi/Kconfig"
  99. endmenu