blob: bed8cc7e886d6ecc701c212dec004a6612f197ef [file] [log] [blame]
Breno Lima52384b72017-11-27 21:09:00 -02001config HAS_CAAM
2 bool
3
Boris BREZILLONa05a6042015-03-04 13:13:04 +01004config IMX_CONFIG
5 string
Adrian Alonsoa89729c2015-10-12 13:48:09 -05006
7config ROM_UNIFIED_SECTIONS
8 bool
Peng Fande09c432016-01-28 16:55:00 +08009
Stefan Agner616aa552018-01-05 15:08:17 +010010config SYSCOUNTER_TIMER
11 bool
12
Stefan Agner23b6a132018-01-05 15:08:18 +010013config GPT_TIMER
14 bool
15
Peng Fande09c432016-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 Fan6f6058b2016-01-28 16:55:04 +080023
24config IMX_BOOTAUX
25 bool "Support boot auxiliary core"
Marcel Ziswiler37822a62019-03-25 17:24:53 +010026 depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610
Peng Fan6f6058b2016-01-28 16:55:04 +080027 help
28 bootaux [addr] to boot auxiliary core.
Gary Bisson6e1f4d22016-08-25 19:03:16 +020029
Peng Fan3c42c0f2020-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 Fan8b62d542016-10-11 14:29:12 +080037config USE_IMXIMG_PLUGIN
38 bool "Use imximage plugin code"
Ye Li15bae9a2019-05-16 03:18:51 +000039 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP
Peng Fan8b62d542016-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 Babicd714a752019-09-20 08:47:53 +020044config IMX_HAB
Gary Bisson6e1f4d22016-08-25 19:03:16 +020045 bool "Support i.MX HAB features"
46 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
Breno Lima52384b72017-11-27 21:09:00 -020047 select FSL_CAAM if HAS_CAAM
Simon Glassd569c952017-04-26 22:28:06 -060048 imply CMD_DEKBLOB
Gary Bisson6e1f4d22016-08-25 19:03:16 +020049 help
50 This option enables the support for secure boot (HAB).
Patrick Delaunay9d82cbd2020-02-28 15:18:16 +010051 See doc/imx/habv4/* for more details.
Simon Glass218257b2017-04-26 22:27:54 -060052
Breno Matheus Lima5f2fe3b2019-07-18 12:34:08 +000053config CSF_SIZE
54 hex "Maximum size for Command Sequence File (CSF) binary"
Breno Matheus Lima5b20d142019-09-23 18:39:47 +000055 default 0x2060
Breno Matheus Lima5f2fe3b2019-07-18 12:34:08 +000056 help
57 Define the maximum size for Command Sequence File (CSF) binary
58 this information is used to define the image boot data.
59
Simon Glass218257b2017-04-26 22:27:54 -060060config CMD_BMODE
61 bool "Support the 'bmode' command"
62 default y
Fabio Estevam2756d312018-06-22 13:54:55 -030063 depends on ARCH_MX6 || ARCH_MX5
Simon Glass218257b2017-04-26 22:27:54 -060064 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.
Simon Glassd569c952017-04-26 22:28:06 -060073
74config 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
Patrick Delaunay9d82cbd2020-02-28 15:18:16 +010079 creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for
Simon Glassd569c952017-04-26 22:28:06 -060080 more information.
Simon Glass7a01f3c2017-05-17 03:25:28 -060081
82config 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.
Fabio Estevam4555c262017-11-27 10:25:09 -020087
Shyam Saini1d43e242019-06-14 13:05:33 +053088config CMD_NANDBCB
89 bool "i.MX6 NAND Boot Control Block(BCB) command"
Miquel Raynal88718be2019-10-03 19:50:03 +020090 depends on MTD_RAW_NAND && CMD_MTDPARTS
Parthiban Nallathambi6aa87492019-10-18 11:46:19 +020091 select BCH if MX6UL || MX6ULL
Alice Guo66dbd9c2020-05-05 22:04:00 +080092 default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS)
Shyam Saini1d43e242019-06-14 13:05:33 +053093 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
Fabio Estevam4555c262017-11-27 10:25:09 -0200100config 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.
Lukasz Majewski548cc102018-12-05 17:04:02 +0100107
108config 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.
Peng Fan1cbebc72019-09-16 03:09:31 +0000119
120config SPL_IMX_ROMAPI_LOADADDR
121 hex "Default load address to load image through ROM API"
Peng Fan9d5e1aa2019-12-30 16:44:48 +0800122 depends on IMX8MN || IMX8MP
Jorge Ramirez-Ortize97bdfa2019-12-11 10:42:36 +0100123
124config 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.