Kconfig 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. config HAS_CAAM
  2. bool
  3. config IMX_CONFIG
  4. string
  5. config ROM_UNIFIED_SECTIONS
  6. bool
  7. config SYSCOUNTER_TIMER
  8. bool
  9. config GPT_TIMER
  10. bool
  11. config IMX_RDC
  12. bool "i.MX Resource domain controller driver"
  13. depends on ARCH_MX6 || ARCH_MX7
  14. help
  15. i.MX Resource domain controller is used to assign masters
  16. and peripherals to differet domains. This can be used to
  17. isolate resources.
  18. config IMX_BOOTAUX
  19. bool "Support boot auxiliary core"
  20. depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8M
  21. help
  22. bootaux [addr] to boot auxiliary core.
  23. config IMX_MODULE_FUSE
  24. bool "i.MX Module Fuse"
  25. depends on ARCH_MX6
  26. help
  27. i.MX module fuse to runtime disable some driver, including
  28. Linux OS device node.
  29. config USE_IMXIMG_PLUGIN
  30. bool "Use imximage plugin code"
  31. depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP
  32. help
  33. i.MX6/7 supports DCD and Plugin. Enable this configuration
  34. to use Plugin, otherwise DCD will be used.
  35. config IMX_HAB
  36. bool "Support i.MX HAB features"
  37. depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M
  38. select FSL_CAAM if HAS_CAAM
  39. imply CMD_DEKBLOB if HAS_CAAM
  40. help
  41. This option enables the support for secure boot (HAB).
  42. See doc/imx/habv4/* for more details.
  43. config CSF_SIZE
  44. hex "Maximum size for Command Sequence File (CSF) binary"
  45. depends on IMX_HAB
  46. default 0x2000 if ARCH_IMX8M
  47. default 0x2060
  48. help
  49. Define the maximum size for Command Sequence File (CSF) binary
  50. this information is used to define the image boot data.
  51. config CMD_BMODE
  52. bool "Support the 'bmode' command"
  53. default y
  54. depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
  55. help
  56. This enables the 'bmode' (bootmode) command for forcing
  57. a boot from specific media.
  58. This is useful for forcing the ROM's usb downloader to
  59. activate upon a watchdog reset which is nice when iterating
  60. on U-Boot. Using the reset button or running bmode normal
  61. will set it back to normal. This command currently
  62. supports i.MX53 and i.MX6.
  63. config CMD_DEKBLOB
  64. bool "Support the 'dek_blob' command"
  65. select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP
  66. select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M
  67. select IMX_SECO_DEK_ENCAP if ARCH_IMX8
  68. help
  69. This enables the 'dek_blob' command which is used with the
  70. Freescale secure boot mechanism. This command encapsulates and
  71. creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for
  72. more information.
  73. config IMX_CAAM_DEK_ENCAP
  74. bool "Support the DEK blob encapsulation with CAAM U-Boot driver"
  75. help
  76. This enables the DEK blob encapsulation with the U-Boot CAAM driver.
  77. This option is only available on imx6, imx7 and imx7ulp.
  78. config IMX_OPTEE_DEK_ENCAP
  79. select TEE
  80. select OPTEE
  81. bool "Support the DEK blob encapsulation with OP-TEE"
  82. help
  83. This enabled the DEK blob encapsulation with OP-TEE. The communication
  84. with OP-TEE is done through a SMC call and OP-TEE shared memory. This
  85. option is available on imx8mm.
  86. config IMX_SECO_DEK_ENCAP
  87. bool "Support the DEK blob encapsulation with SECO"
  88. help
  89. This enabled the DEK blob encapsulation with the SECO API. This option
  90. is only available on imx8.
  91. config CMD_PRIBLOB
  92. bool "Support the set_priblob_bitfield command"
  93. depends on HAS_CAAM && IMX_HAB
  94. help
  95. This option enables the priblob command which can be used
  96. to set the priblob setting to 0x3.
  97. config CMD_HDMIDETECT
  98. bool "Support the 'hdmidet' command"
  99. help
  100. This enables the 'hdmidet' command which detects if an HDMI monitor
  101. is connected.
  102. config CMD_NANDBCB
  103. bool "i.MX6 NAND Boot Control Block(BCB) command"
  104. depends on MTD_RAW_NAND && CMD_MTDPARTS
  105. select BCH if MX6UL || MX6ULL
  106. default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS)
  107. help
  108. Unlike normal 'nand write/erase' commands, this command update
  109. Boot Control Block(BCB) for i.MX6 platform NAND IP's.
  110. This is similar to kobs-ng, which is used in Linux as separate
  111. rootfs package.
  112. config FSL_MFGPROT
  113. bool "Support the 'mfgprot' command"
  114. depends on IMX_HAB && ARCH_MX7
  115. help
  116. This option enables the manufacturing protection command
  117. which can be used has a protection feature for Manufacturing
  118. process. With this tool is possible to authenticate the
  119. chip to the OEM's server.
  120. config NXP_BOARD_REVISION
  121. bool "Read NXP board revision from fuses"
  122. depends on ARCH_MX6 || ARCH_MX7
  123. help
  124. NXP boards based on i.MX6/7 contain the board revision information
  125. stored in the fuses. Select this option if you want to be able to
  126. retrieve the board revision information.
  127. config DDRMC_VF610_CALIBRATION
  128. bool "Enable DDRMC (DDR3) on-chip calibration"
  129. depends on ARCH_VF610
  130. help
  131. Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3
  132. memory parameters. Select this option if you want to calculate them
  133. at boot time.
  134. NOTE:
  135. NXP does NOT recommend to perform this calibration at each boot. One
  136. shall perform it on a new PCB and then use those values to program
  137. the ddrmc_cr_setting on relevant board file.
  138. config SPL_IMX_ROMAPI_LOADADDR
  139. hex "Default load address to load image through ROM API"
  140. depends on IMX8MN || IMX8MP
  141. config IMX_DCD_ADDR
  142. hex "DCD Blocks location on the image"
  143. default 0x00910000 if !ARCH_MX7ULP
  144. default 0x2f010000 if ARCH_MX7ULP
  145. help
  146. Indicates where the Device Configuration Data, a binary table used by
  147. the ROM code to configure the device at early boot stage, is located.
  148. This information is shared with the user via mkimage -l just so the
  149. image can be signed.