Kconfig 2.3 KB

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