Kconfig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #
  2. # linux/drivers/mtd/onenand/Kconfig
  3. #
  4. menuconfig MTD_ONENAND
  5. tristate "OneNAND Device Support"
  6. depends on MTD
  7. help
  8. This enables support for accessing all type of OneNAND flash
  9. devices. For further information see
  10. <http://www.samsung.com/Products/Semiconductor/OneNAND/index.htm>
  11. if MTD_ONENAND
  12. config MTD_ONENAND_VERIFY_WRITE
  13. bool "Verify OneNAND page writes"
  14. help
  15. This adds an extra check when data is written to the flash. The
  16. OneNAND flash device internally checks only bits transitioning
  17. from 1 to 0. There is a rare possibility that even though the
  18. device thinks the write was successful, a bit could have been
  19. flipped accidentally due to device wear or something else.
  20. config MTD_ONENAND_GENERIC
  21. tristate "OneNAND Flash device via platform device driver"
  22. depends on ARM
  23. help
  24. Support for OneNAND flash via platform device driver.
  25. config MTD_ONENAND_OTP
  26. bool "OneNAND OTP Support"
  27. select HAVE_MTD_OTP
  28. help
  29. One Block of the NAND Flash Array memory is reserved as
  30. a One-Time Programmable Block memory area.
  31. Also, 1st Block of NAND Flash Array can be used as OTP.
  32. The OTP block can be read, programmed and locked using the same
  33. operations as any other NAND Flash Array memory block.
  34. OTP block cannot be erased.
  35. OTP block is fully-guaranteed to be a valid block.
  36. config MTD_ONENAND_2X_PROGRAM
  37. bool "OneNAND 2X program support"
  38. help
  39. The 2X Program is an extension of Program Operation.
  40. Since the device is equipped with two DataRAMs, and two-plane NAND
  41. Flash memory array, these two component enables simultaneous program
  42. of 4KiB. Plane1 has only even blocks such as block0, block2, block4
  43. while Plane2 has only odd blocks such as block1, block3, block5.
  44. So MTD regards it as 4KiB page size and 256KiB block size
  45. Now the following chips support it. (KFXXX16Q2M)
  46. Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M,
  47. Mux: KFM2G16Q2M, KFN4G16Q2M,
  48. And more recent chips
  49. config MTD_ONENAND_SIM
  50. tristate "OneNAND simulator support"
  51. depends on MTD_PARTITIONS
  52. help
  53. The simulator may simulate various OneNAND flash chips for the
  54. OneNAND MTD layer.
  55. endif # MTD_ONENAND