Kconfig 2.1 KB

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