blob: 27b0b081ad211f3a1e11c1622dd20663a8e66ea5 [file] [log] [blame]
Breno Lima998ffd32017-11-27 21:09:00 -02001config HAS_CAAM
2 bool
3
Boris BREZILLON6b9b9a02015-03-04 13:13:04 +01004config IMX_CONFIG
5 string
Adrian Alonso994d9cf2015-10-12 13:48:09 -05006
7config ROM_UNIFIED_SECTIONS
8 bool
Peng Fan1b64ffa2016-01-28 16:55:00 +08009
Stefan Agner42960412018-01-05 15:08:17 +010010config SYSCOUNTER_TIMER
11 bool
12
Stefan Agner4bb73f12018-01-05 15:08:18 +010013config GPT_TIMER
14 bool
15
Peng Fan1b64ffa2016-01-28 16:55:00 +080016config 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.
Peng Fanfcabb6d2016-01-28 16:55:04 +080023
24config IMX_BOOTAUX
25 bool "Support boot auxiliary core"
Peng Fan5ac9b442020-05-05 20:18:02 +080026 depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8M
Peng Fanfcabb6d2016-01-28 16:55:04 +080027 help
28 bootaux [addr] to boot auxiliary core.
Gary Bissonf702c1d2016-08-25 19:03:16 +020029
Peng Fan415f8952020-05-01 22:08:34 +080030config 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
Peng Fan683cf992016-10-11 14:29:12 +080037config USE_IMXIMG_PLUGIN
38 bool "Use imximage plugin code"
Ye Liba604b82019-05-16 03:18:51 +000039 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP
Peng Fan683cf992016-10-11 14:29:12 +080040 help
41 i.MX6/7 supports DCD and Plugin. Enable this configuration
42 to use Plugin, otherwise DCD will be used.
43
Stefano Babicf8b509b2019-09-20 08:47:53 +020044config IMX_HAB
Gary Bissonf702c1d2016-08-25 19:03:16 +020045 bool "Support i.MX HAB features"
Ye Liebabd8d2021-03-25 17:30:17 +080046 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M
Breno Lima998ffd32017-11-27 21:09:00 -020047 select FSL_CAAM if HAS_CAAM
Ye Li504c6672021-03-25 17:30:18 +080048 imply CMD_DEKBLOB if HAS_CAAM
Gary Bissonf702c1d2016-08-25 19:03:16 +020049 help
50 This option enables the support for secure boot (HAB).
Patrick Delaunay02ff85e2020-02-28 15:18:16 +010051 See doc/imx/habv4/* for more details.
Simon Glass3ec09a02017-04-26 22:27:54 -060052
Breno Matheus Lima13960fd2019-07-18 12:34:08 +000053config CSF_SIZE
54 hex "Maximum size for Command Sequence File (CSF) binary"
Tom Rini60812732020-06-16 19:06:26 -040055 depends on IMX_HAB
56 default 0x2000 if ARCH_IMX8M
Breno Matheus Limac592c342019-09-23 18:39:47 +000057 default 0x2060
Breno Matheus Lima13960fd2019-07-18 12:34:08 +000058 help
59 Define the maximum size for Command Sequence File (CSF) binary
60 this information is used to define the image boot data.
61
Simon Glass3ec09a02017-04-26 22:27:54 -060062config CMD_BMODE
63 bool "Support the 'bmode' command"
64 default y
Marek Vasut28c0b632020-08-05 15:34:04 +020065 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
Simon Glass3ec09a02017-04-26 22:27:54 -060066 help
67 This enables the 'bmode' (bootmode) command for forcing
68 a boot from specific media.
69
70 This is useful for forcing the ROM's usb downloader to
71 activate upon a watchdog reset which is nice when iterating
72 on U-Boot. Using the reset button or running bmode normal
73 will set it back to normal. This command currently
74 supports i.MX53 and i.MX6.
Simon Glass88391242017-04-26 22:28:06 -060075
76config CMD_DEKBLOB
77 bool "Support the 'dek_blob' command"
78 help
79 This enables the 'dek_blob' command which is used with the
80 Freescale secure boot mechanism. This command encapsulates and
Patrick Delaunay02ff85e2020-02-28 15:18:16 +010081 creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for
Simon Glass88391242017-04-26 22:28:06 -060082 more information.
Simon Glassf3a50ee2017-05-17 03:25:28 -060083
Clement Le Marquis6abb36e2021-03-25 17:30:32 +080084config CMD_PRIBLOB
85 bool "Support the set_priblob_bitfield command"
86 depends on HAS_CAAM && IMX_HAB
87 help
88 This option enables the priblob command which can be used
89 to set the priblob setting to 0x3.
90
Simon Glassf3a50ee2017-05-17 03:25:28 -060091config CMD_HDMIDETECT
92 bool "Support the 'hdmidet' command"
93 help
94 This enables the 'hdmidet' command which detects if an HDMI monitor
95 is connected.
Fabio Estevam49bcdd72017-11-27 10:25:09 -020096
Shyam Sainif63ef492019-06-14 13:05:33 +053097config CMD_NANDBCB
98 bool "i.MX6 NAND Boot Control Block(BCB) command"
Miquel Raynald0935362019-10-03 19:50:03 +020099 depends on MTD_RAW_NAND && CMD_MTDPARTS
Parthiban Nallathambia99188b2019-10-18 11:46:19 +0200100 select BCH if MX6UL || MX6ULL
Alice Guoa3f815b2020-05-05 22:04:00 +0800101 default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS)
Shyam Sainif63ef492019-06-14 13:05:33 +0530102 help
103 Unlike normal 'nand write/erase' commands, this command update
104 Boot Control Block(BCB) for i.MX6 platform NAND IP's.
105
106 This is similar to kobs-ng, which is used in Linux as separate
107 rootfs package.
108
Breno Limac89287e2021-03-25 17:30:02 +0800109config FSL_MFGPROT
110 bool "Support the 'mfgprot' command"
111 depends on IMX_HAB && ARCH_MX7
112 help
113 This option enables the manufacturing protection command
114 which can be used has a protection feature for Manufacturing
115 process. With this tool is possible to authenticate the
116 chip to the OEM's server.
117
Fabio Estevam49bcdd72017-11-27 10:25:09 -0200118config NXP_BOARD_REVISION
119 bool "Read NXP board revision from fuses"
120 depends on ARCH_MX6 || ARCH_MX7
121 help
122 NXP boards based on i.MX6/7 contain the board revision information
123 stored in the fuses. Select this option if you want to be able to
124 retrieve the board revision information.
Lukasz Majewski71d42b32018-12-05 17:04:02 +0100125
126config DDRMC_VF610_CALIBRATION
127 bool "Enable DDRMC (DDR3) on-chip calibration"
128 depends on ARCH_VF610
129 help
130 Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3
131 memory parameters. Select this option if you want to calculate them
132 at boot time.
133 NOTE:
134 NXP does NOT recommend to perform this calibration at each boot. One
135 shall perform it on a new PCB and then use those values to program
136 the ddrmc_cr_setting on relevant board file.
Peng Fan36986792019-09-16 03:09:31 +0000137
138config SPL_IMX_ROMAPI_LOADADDR
139 hex "Default load address to load image through ROM API"
Peng Fan134209c2019-12-30 16:44:48 +0800140 depends on IMX8MN || IMX8MP
Jorge Ramirez-Ortiz4b3bfe22019-12-11 10:42:36 +0100141
142config IMX_DCD_ADDR
143 hex "DCD Blocks location on the image"
144 default 0x00910000 if !ARCH_MX7ULP
145 default 0x2f010000 if ARCH_MX7ULP
146 help
147 Indicates where the Device Configuration Data, a binary table used by
148 the ROM code to configure the device at early boot stage, is located.
149 This information is shared with the user via mkimage -l just so the
150 image can be signed.