Config.in.flash 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "Flash device support"
  4. depends on ADK_TARGET_WITH_NAND || ADK_TARGET_WITH_MTD || ADK_TARGET_QEMU
  5. config ADK_KERNEL_MTD
  6. select ADK_KERNEL_GENERIC_IO
  7. bool
  8. config ADK_KERNEL_GENERIC_IO
  9. bool
  10. config ADK_KERNEL_MTD_MTDRAM
  11. bool
  12. config ADK_KERNEL_MTD_NAND
  13. bool
  14. config ADK_KERNEL_MTD_NAND_PLATFORM
  15. bool
  16. config ADK_KERNEL_MTD_CHAR
  17. bool
  18. config ADK_KERNEL_MTD_BLKDEVS
  19. bool
  20. config ADK_KERNEL_MTD_BLOCK
  21. bool
  22. config ADK_KERNEL_MTD_PARTITIONS
  23. bool
  24. config ADK_KERNEL_MTD_ROOTFS_ROOT_DEV
  25. bool
  26. config ADK_KERNEL_MTD_CFI
  27. bool
  28. config ADK_KERNEL_MTD_GEN_PROBE
  29. bool
  30. config ADK_KERNEL_MTD_PHYSMAP
  31. bool
  32. config ADK_KERNEL_MTD_PHYSMAP_OF
  33. bool
  34. config ADK_KERNEL_MTD_CFI_ADV_OPTIONS
  35. bool
  36. config ADK_KERNEL_MTD_NAND_RB4XX
  37. bool
  38. config ADK_KERNEL_MTD_AR7_PARTS
  39. bool
  40. config ADK_KERNEL_MTD_CFI_INTELEXT
  41. bool
  42. config ADK_KERNEL_MTD_CFI_AMDSTD
  43. bool
  44. config ADK_KERNEL_MTD_CFI_STAA
  45. bool
  46. config ADK_KERNEL_MTD_OF_PARTS
  47. bool
  48. config ADK_KERNEL_MTD_M25P80
  49. bool "MTD M25P80 driver"
  50. select ADK_KERNEL_MTD
  51. select ADK_KERNEL_MTD_PARTITIONS
  52. select ADK_KERNEL_MTD_CHAR
  53. select ADK_KERNEL_MTD_BLKDEVS
  54. select ADK_KERNEL_MTD_BLOCK
  55. select ADK_KERNEL_MTD_ROOTFS_ROOT_DEV
  56. select ADK_KERNEL_MTD_CFI
  57. select ADK_KERNEL_MTD_CFI_INTELEXT
  58. select ADK_KERNEL_MTD_GEN_PROBE
  59. select ADK_KERNEL_MTD_PHYSMAP
  60. select ADK_KERNEL_MTD_PHYSMAP_OF
  61. select ADK_KERNEL_MTD_OF_PARTS
  62. select ADK_KERNEL_SPI
  63. select ADK_KERNEL_SPI_MASTER
  64. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  65. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  66. default n
  67. config ADK_KERNEL_MTD_NAND_PLATFORM
  68. bool "NAND platform driver"
  69. select ADK_KERNEL_MISC_FILESYSTEMS
  70. select ADK_KERNEL_MTD
  71. select ADK_KERNEL_MTD_PARTITIONS
  72. select ADK_KERNEL_MTD_NAND
  73. select ADK_KERNEL_MTD_CHAR
  74. select ADK_KERNEL_MTD_BLKDEVS
  75. select ADK_KERNEL_MTD_BLOCK
  76. depends on ADK_TARGET_SYSTEM_MIKROTIK_RB532
  77. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  78. default n
  79. help
  80. platform nand driver
  81. config ADK_TARGET_MTD_SIZE
  82. int
  83. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  84. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  85. default "16777216" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  86. default "33554432" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  87. default "0"
  88. endmenu