1
0

Config.in.flash 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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_CMDLINE_PARTS
  19. bool
  20. config ADK_KERNEL_MTD_BLKDEVS
  21. bool
  22. config ADK_KERNEL_MTD_BLOCK
  23. bool
  24. config ADK_KERNEL_MTD_PARTITIONS
  25. bool
  26. config ADK_KERNEL_MTD_ROOTFS_ROOT_DEV
  27. bool
  28. config ADK_KERNEL_MTD_CFI
  29. bool
  30. config ADK_KERNEL_MTD_GEN_PROBE
  31. bool
  32. config ADK_KERNEL_MTD_PHYSMAP
  33. bool
  34. config ADK_KERNEL_MTD_PHYSMAP_OF
  35. bool
  36. config ADK_KERNEL_MTD_CFI_ADV_OPTIONS
  37. bool
  38. config ADK_KERNEL_MTD_NAND_RB4XX
  39. bool
  40. config ADK_KERNEL_MTD_AR7_PARTS
  41. bool
  42. config ADK_KERNEL_MTD_CFI_INTELEXT
  43. bool
  44. config ADK_KERNEL_MTD_CFI_AMDSTD
  45. bool
  46. config ADK_KERNEL_MTD_CFI_STAA
  47. bool
  48. config ADK_KERNEL_MTD_OF_PARTS
  49. bool
  50. config ADK_KERNEL_MTD_M25P80
  51. bool "MTD M25P80 driver"
  52. select ADK_KERNEL_BLOCK
  53. select ADK_KERNEL_MTD
  54. select ADK_KERNEL_MTD_PARTITIONS
  55. select ADK_KERNEL_MTD_CHAR
  56. select ADK_KERNEL_MTD_BLKDEVS
  57. select ADK_KERNEL_MTD_BLOCK
  58. select ADK_KERNEL_MTD_ROOTFS_ROOT_DEV
  59. select ADK_KERNEL_MTD_CFI
  60. select ADK_KERNEL_MTD_CFI_INTELEXT
  61. select ADK_KERNEL_MTD_GEN_PROBE
  62. select ADK_KERNEL_MTD_PHYSMAP
  63. select ADK_KERNEL_MTD_PHYSMAP_OF
  64. select ADK_KERNEL_MTD_OF_PARTS
  65. select ADK_KERNEL_SPI
  66. select ADK_KERNEL_SPI_MASTER
  67. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  68. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  69. default n
  70. config ADK_KERNEL_MTD_NAND_PLATFORM
  71. bool "NAND platform driver"
  72. select ADK_KERNEL_BLOCK
  73. select ADK_KERNEL_MISC_FILESYSTEMS
  74. select ADK_KERNEL_MTD
  75. select ADK_KERNEL_MTD_PARTITIONS
  76. select ADK_KERNEL_MTD_NAND
  77. select ADK_KERNEL_MTD_CHAR
  78. select ADK_KERNEL_MTD_BLKDEVS
  79. select ADK_KERNEL_MTD_BLOCK
  80. depends on ADK_TARGET_SYSTEM_MIKROTIK_RB532
  81. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  82. default n
  83. help
  84. platform nand driver
  85. config ADK_KERNEL_MTD_PLATRAM
  86. bool "MTD RAM driver"
  87. select ADK_KERNEL_BLOCK
  88. select ADK_KERNEL_MISC_FILESYSTEMS
  89. select ADK_KERNEL_MTD
  90. select ADK_KERNEL_MTD_BLOCK
  91. select ADK_KERNEL_MTD_CFI
  92. select ADK_KERNEL_MTD_CFI_INTELEXT
  93. select ADK_KERNEL_MTD_PHYSMAP
  94. select ADK_KERNEL_MTD_PHYSMAP_OF
  95. select ADK_KERNEL_MTD_CMDLINE_PARTS
  96. default n
  97. config ADK_TARGET_MTD_SIZE
  98. int
  99. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  100. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  101. default "16777216" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  102. default "33554432" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  103. default "0"
  104. endmenu