Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. menu "Tools options"
  2. config MKIMAGE_DTC_PATH
  3. string "Path to dtc binary for use within mkimage"
  4. default "dtc"
  5. help
  6. The mkimage host tool will, in order to generate FIT images make
  7. calls to the dtc application in order to create the output. In
  8. some cases the system dtc may not support all required features
  9. and the path to a different version should be given here.
  10. config TOOLS_CRC32
  11. def_bool y
  12. help
  13. Enable CRC32 support in the tools builds
  14. config TOOLS_LIBCRYPTO
  15. bool "Use OpenSSL's libcrypto library for host tools"
  16. default y
  17. help
  18. Cryptographic signature, verification, and encryption of images is
  19. provided by host tools using OpenSSL's libcrypto. Select 'n' here if
  20. you wish to build host tools without OpenSSL. mkimage will not have
  21. the ability to sign images.
  22. This selection does not affect target features, such as runtime FIT
  23. signature verification.
  24. config TOOLS_FIT
  25. def_bool y
  26. help
  27. Enable FIT support in the tools builds.
  28. config TOOLS_FIT_FULL_CHECK
  29. def_bool y
  30. help
  31. Do a full check of the FIT before using it in the tools builds
  32. config TOOLS_FIT_PRINT
  33. def_bool y
  34. help
  35. Print the content of the FIT verbosely in the tools builds
  36. config TOOLS_FIT_RSASSA_PSS
  37. def_bool y
  38. help
  39. Support the rsassa-pss signature scheme in the tools builds
  40. config TOOLS_FIT_SIGNATURE
  41. def_bool y
  42. help
  43. Enable signature verification of FIT uImages in the tools builds
  44. config TOOLS_FIT_SIGNATURE_MAX_SIZE
  45. hex
  46. depends on TOOLS_FIT_SIGNATURE
  47. default 0x10000000
  48. config TOOLS_FIT_VERBOSE
  49. def_bool y
  50. help
  51. Support verbose FIT output in the tools builds
  52. config TOOLS_MD5
  53. def_bool y
  54. help
  55. Enable MD5 support in the tools builds
  56. config TOOLS_OF_LIBFDT
  57. def_bool y
  58. help
  59. Enable libfdt support in the tools builds
  60. config TOOLS_SHA1
  61. def_bool y
  62. help
  63. Enable SHA1 support in the tools builds
  64. config TOOLS_SHA256
  65. def_bool y
  66. help
  67. Enable SHA256 support in the tools builds
  68. config TOOLS_SHA384
  69. def_bool y
  70. help
  71. Enable SHA384 support in the tools builds
  72. config TOOLS_SHA512
  73. def_bool y
  74. help
  75. Enable SHA512 support in the tools builds
  76. config TOOLS_MKEFICAPSULE
  77. bool "Build efimkcapsule command"
  78. default y if EFI_CAPSULE_ON_DISK
  79. help
  80. This command allows users to create a UEFI capsule file and,
  81. optionally sign that file. If you want to enable UEFI capsule
  82. update feature on your target, you certainly need this.
  83. menuconfig FSPI_CONF_HEADER
  84. bool "FlexSPI Header Configuration"
  85. help
  86. FSPI Header Configuration
  87. config FSPI_CONF_FILE
  88. string "FlexSPI Header File"
  89. depends on FSPI_CONF_HEADER
  90. help
  91. FlexSPI Header File name
  92. config READ_CLK_SOURCE
  93. hex "Sampling Clock Source"
  94. default 0x00
  95. depends on FSPI_CONF_HEADER
  96. help
  97. Sample Clock source for Flash, default is internal loopback clock
  98. config DEVICE_TYPE
  99. hex "Flash Type"
  100. default 0x01
  101. depends on FSPI_CONF_HEADER
  102. help
  103. Flash type: Serial NOR (0X01) and Serial NAND (0x02)
  104. config FLASH_PAD_TYPE
  105. hex "Flash Pad Type"
  106. default 0x01
  107. depends on FSPI_CONF_HEADER
  108. help
  109. Flash Pad type :
  110. Single Pad 0x01
  111. Dual Pads 0x02
  112. Quad Pad 0x04
  113. Octal Pad 0x08
  114. config SERIAL_CLK_FREQUENCY
  115. hex "Serial Clock Frequency"
  116. default 0x02
  117. depends on FSPI_CONF_HEADER
  118. help
  119. Chip specific frequency: other value 30MHz
  120. 1-30MHz 2-50MHz 3-60MHz 4-75MHz 5-80MHz 6-100MHz 7-133MHz 8-166MHz
  121. config LUT_CUSTOM_SEQUENCE
  122. hex "Enable Custom Look Up Table(LUT) Sequence"
  123. default 0x00
  124. depends on FSPI_CONF_HEADER
  125. help
  126. 0 - Use predefined LUT Sequence
  127. 1 - Use LUT Sequence provided
  128. config LUT_SEQUENCE
  129. string "Look Up Table Sequence"
  130. default "0x0b, 0x04, 0x18, 0x08, 0x08, 0x30, 0x04, 0x24"
  131. depends on FSPI_CONF_HEADER
  132. help
  133. Look Up Table Sequence
  134. config TOOLS_MKFWUMDATA
  135. bool "Build mkfwumdata command"
  136. default y if FWU_MULTI_BANK_UPDATE
  137. help
  138. This command allows users to create a raw image of the FWU
  139. metadata for initial installation of the FWU multi bank
  140. update on the board. The installation method depends on
  141. the platform.
  142. endmenu