Kconfig 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. menuconfig MTD_ONENAND
  2. tristate "OneNAND Device Support"
  3. depends on MTD
  4. depends on HAS_IOMEM
  5. help
  6. This enables support for accessing all type of OneNAND flash
  7. devices.
  8. if MTD_ONENAND
  9. config MTD_ONENAND_VERIFY_WRITE
  10. bool "Verify OneNAND page writes"
  11. help
  12. This adds an extra check when data is written to the flash. The
  13. OneNAND flash device internally checks only bits transitioning
  14. from 1 to 0. There is a rare possibility that even though the
  15. device thinks the write was successful, a bit could have been
  16. flipped accidentally due to device wear or something else.
  17. config MTD_ONENAND_GENERIC
  18. tristate "OneNAND Flash device via platform device driver"
  19. help
  20. Support for OneNAND flash via platform device driver.
  21. config MTD_ONENAND_OMAP2
  22. tristate "OneNAND on OMAP2/OMAP3 support"
  23. depends on ARCH_OMAP2 || ARCH_OMAP3
  24. depends on OF || COMPILE_TEST
  25. help
  26. Support for a OneNAND flash device connected to an OMAP2/OMAP3 SoC
  27. via the GPMC memory controller.
  28. Enable dmaengine and gpiolib for better performance.
  29. config MTD_ONENAND_SAMSUNG
  30. tristate "OneNAND on Samsung SOC controller support"
  31. depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS4
  32. help
  33. Support for a OneNAND flash device connected to an Samsung SOC.
  34. S3C64XX uses command mapping method.
  35. S5PC110/S5PC210 use generic OneNAND method.
  36. config MTD_ONENAND_OTP
  37. bool "OneNAND OTP Support"
  38. help
  39. One Block of the NAND Flash Array memory is reserved as
  40. a One-Time Programmable Block memory area.
  41. Also, 1st Block of NAND Flash Array can be used as OTP.
  42. The OTP block can be read, programmed and locked using the same
  43. operations as any other NAND Flash Array memory block.
  44. OTP block cannot be erased.
  45. OTP block is fully-guaranteed to be a valid block.
  46. config MTD_ONENAND_2X_PROGRAM
  47. bool "OneNAND 2X program support"
  48. help
  49. The 2X Program is an extension of Program Operation.
  50. Since the device is equipped with two DataRAMs, and two-plane NAND
  51. Flash memory array, these two component enables simultaneous program
  52. of 4KiB. Plane1 has only even blocks such as block0, block2, block4
  53. while Plane2 has only odd blocks such as block1, block3, block5.
  54. So MTD regards it as 4KiB page size and 256KiB block size
  55. Now the following chips support it. (KFXXX16Q2M)
  56. Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M,
  57. Mux: KFM2G16Q2M, KFN4G16Q2M,
  58. And more recent chips
  59. endif # MTD_ONENAND