Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. menuconfig MTD_ONENAND
  2. tristate "OneNAND Device Support"
  3. depends on MTD
  4. select MTD_PARTITIONS
  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 MTD_ONENAND && (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_OTP
  29. bool "OneNAND OTP Support"
  30. select HAVE_MTD_OTP
  31. help
  32. One Block of the NAND Flash Array memory is reserved as
  33. a One-Time Programmable Block memory area.
  34. Also, 1st Block of NAND Flash Array can be used as OTP.
  35. The OTP block can be read, programmed and locked using the same
  36. operations as any other NAND Flash Array memory block.
  37. OTP block cannot be erased.
  38. OTP block is fully-guaranteed to be a valid block.
  39. config MTD_ONENAND_2X_PROGRAM
  40. bool "OneNAND 2X program support"
  41. help
  42. The 2X Program is an extension of Program Operation.
  43. Since the device is equipped with two DataRAMs, and two-plane NAND
  44. Flash memory array, these two component enables simultaneous program
  45. of 4KiB. Plane1 has only even blocks such as block0, block2, block4
  46. while Plane2 has only odd blocks such as block1, block3, block5.
  47. So MTD regards it as 4KiB page size and 256KiB block size
  48. Now the following chips support it. (KFXXX16Q2M)
  49. Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M,
  50. Mux: KFM2G16Q2M, KFN4G16Q2M,
  51. And more recent chips
  52. config MTD_ONENAND_SIM
  53. tristate "OneNAND simulator support"
  54. help
  55. The simulator may simulate various OneNAND flash chips for the
  56. OneNAND MTD layer.
  57. endif # MTD_ONENAND