Kconfig 2.4 KB

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