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