2021-08-25 00:40:59 +00:00
|
|
|
config MACH_IMX
|
|
|
|
bool
|
|
|
|
|
2017-11-27 23:09:00 +00:00
|
|
|
config HAS_CAAM
|
|
|
|
bool
|
|
|
|
|
2015-03-04 12:13:04 +00:00
|
|
|
config IMX_CONFIG
|
2021-08-25 00:41:00 +00:00
|
|
|
string "DCD script to use"
|
|
|
|
depends on MACH_IMX
|
|
|
|
default "arch/arm/mach-imx/spl_sd.cfg"
|
2015-10-12 18:48:09 +00:00
|
|
|
|
|
|
|
config ROM_UNIFIED_SECTIONS
|
|
|
|
bool
|
2016-01-28 08:55:00 +00:00
|
|
|
|
2018-01-05 14:08:17 +00:00
|
|
|
config SYSCOUNTER_TIMER
|
|
|
|
bool
|
|
|
|
|
2018-01-05 14:08:18 +00:00
|
|
|
config GPT_TIMER
|
|
|
|
bool
|
|
|
|
|
2022-12-02 21:42:18 +00:00
|
|
|
config MXC_GPT_HCLK
|
|
|
|
bool
|
|
|
|
|
2016-01-28 08:55:00 +00:00
|
|
|
config IMX_RDC
|
|
|
|
bool "i.MX Resource domain controller driver"
|
|
|
|
depends on ARCH_MX6 || ARCH_MX7
|
|
|
|
help
|
|
|
|
i.MX Resource domain controller is used to assign masters
|
|
|
|
and peripherals to differet domains. This can be used to
|
|
|
|
isolate resources.
|
2016-01-28 08:55:04 +00:00
|
|
|
|
|
|
|
config IMX_BOOTAUX
|
|
|
|
bool "Support boot auxiliary core"
|
2023-06-15 10:09:20 +00:00
|
|
|
depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8 || ARCH_IMX8M
|
2023-08-31 14:03:52 +00:00
|
|
|
select LIB_ELF
|
2016-01-28 08:55:04 +00:00
|
|
|
help
|
|
|
|
bootaux [addr] to boot auxiliary core.
|
2016-08-25 17:03:16 +00:00
|
|
|
|
2020-05-01 14:08:34 +00:00
|
|
|
config IMX_MODULE_FUSE
|
|
|
|
bool "i.MX Module Fuse"
|
|
|
|
depends on ARCH_MX6
|
|
|
|
help
|
|
|
|
i.MX module fuse to runtime disable some driver, including
|
|
|
|
Linux OS device node.
|
|
|
|
|
2016-10-11 06:29:12 +00:00
|
|
|
config USE_IMXIMG_PLUGIN
|
|
|
|
bool "Use imximage plugin code"
|
2019-05-16 03:18:51 +00:00
|
|
|
depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP
|
2016-10-11 06:29:12 +00:00
|
|
|
help
|
|
|
|
i.MX6/7 supports DCD and Plugin. Enable this configuration
|
|
|
|
to use Plugin, otherwise DCD will be used.
|
|
|
|
|
2019-09-20 06:47:53 +00:00
|
|
|
config IMX_HAB
|
2016-08-25 17:03:16 +00:00
|
|
|
bool "Support i.MX HAB features"
|
2021-08-23 11:55:12 +00:00
|
|
|
depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M || ARCH_MX7ULP
|
2017-11-27 23:09:00 +00:00
|
|
|
select FSL_CAAM if HAS_CAAM
|
2021-03-25 09:30:18 +00:00
|
|
|
imply CMD_DEKBLOB if HAS_CAAM
|
2016-08-25 17:03:16 +00:00
|
|
|
help
|
|
|
|
This option enables the support for secure boot (HAB).
|
2020-02-28 14:18:16 +00:00
|
|
|
See doc/imx/habv4/* for more details.
|
2017-04-27 04:27:54 +00:00
|
|
|
|
2019-07-18 12:34:08 +00:00
|
|
|
config CSF_SIZE
|
|
|
|
hex "Maximum size for Command Sequence File (CSF) binary"
|
2020-06-16 23:06:26 +00:00
|
|
|
depends on IMX_HAB
|
|
|
|
default 0x2000 if ARCH_IMX8M
|
2019-09-23 18:39:47 +00:00
|
|
|
default 0x2060
|
2019-07-18 12:34:08 +00:00
|
|
|
help
|
|
|
|
Define the maximum size for Command Sequence File (CSF) binary
|
|
|
|
this information is used to define the image boot data.
|
|
|
|
|
2017-04-27 04:27:54 +00:00
|
|
|
config CMD_BMODE
|
|
|
|
bool "Support the 'bmode' command"
|
|
|
|
default y
|
2020-08-05 13:34:04 +00:00
|
|
|
depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
|
2017-04-27 04:27:54 +00:00
|
|
|
help
|
|
|
|
This enables the 'bmode' (bootmode) command for forcing
|
|
|
|
a boot from specific media.
|
|
|
|
|
|
|
|
This is useful for forcing the ROM's usb downloader to
|
|
|
|
activate upon a watchdog reset which is nice when iterating
|
|
|
|
on U-Boot. Using the reset button or running bmode normal
|
|
|
|
will set it back to normal. This command currently
|
|
|
|
supports i.MX53 and i.MX6.
|
2017-04-27 04:28:06 +00:00
|
|
|
|
|
|
|
config CMD_DEKBLOB
|
|
|
|
bool "Support the 'dek_blob' command"
|
2021-03-25 09:30:33 +00:00
|
|
|
select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP
|
|
|
|
select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M
|
2021-03-25 09:30:34 +00:00
|
|
|
select IMX_SECO_DEK_ENCAP if ARCH_IMX8
|
2023-06-15 10:09:11 +00:00
|
|
|
select IMX_ELE_DEK_ENCAP if ARCH_IMX8ULP || ARCH_IMX9
|
2017-04-27 04:28:06 +00:00
|
|
|
help
|
|
|
|
This enables the 'dek_blob' command which is used with the
|
|
|
|
Freescale secure boot mechanism. This command encapsulates and
|
2020-02-28 14:18:16 +00:00
|
|
|
creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for
|
2017-04-27 04:28:06 +00:00
|
|
|
more information.
|
2017-05-17 09:25:28 +00:00
|
|
|
|
2021-03-25 09:30:33 +00:00
|
|
|
config IMX_CAAM_DEK_ENCAP
|
|
|
|
bool "Support the DEK blob encapsulation with CAAM U-Boot driver"
|
|
|
|
help
|
|
|
|
This enables the DEK blob encapsulation with the U-Boot CAAM driver.
|
|
|
|
This option is only available on imx6, imx7 and imx7ulp.
|
|
|
|
|
|
|
|
config IMX_OPTEE_DEK_ENCAP
|
|
|
|
select TEE
|
|
|
|
select OPTEE
|
|
|
|
bool "Support the DEK blob encapsulation with OP-TEE"
|
|
|
|
help
|
|
|
|
This enabled the DEK blob encapsulation with OP-TEE. The communication
|
|
|
|
with OP-TEE is done through a SMC call and OP-TEE shared memory. This
|
|
|
|
option is available on imx8mm.
|
|
|
|
|
2021-03-25 09:30:34 +00:00
|
|
|
config IMX_SECO_DEK_ENCAP
|
|
|
|
bool "Support the DEK blob encapsulation with SECO"
|
|
|
|
help
|
|
|
|
This enabled the DEK blob encapsulation with the SECO API. This option
|
|
|
|
is only available on imx8.
|
|
|
|
|
2023-06-15 10:09:11 +00:00
|
|
|
config IMX_ELE_DEK_ENCAP
|
|
|
|
bool "Support the DEK blob encapsulation with ELE"
|
|
|
|
help
|
|
|
|
This enabled the DEK blob encapsulation with the ELE API. This option
|
|
|
|
is only available on imx8ulp and imx9.
|
|
|
|
|
2021-03-25 09:30:32 +00:00
|
|
|
config CMD_PRIBLOB
|
|
|
|
bool "Support the set_priblob_bitfield command"
|
|
|
|
depends on HAS_CAAM && IMX_HAB
|
|
|
|
help
|
|
|
|
This option enables the priblob command which can be used
|
|
|
|
to set the priblob setting to 0x3.
|
|
|
|
|
2017-05-17 09:25:28 +00:00
|
|
|
config CMD_HDMIDETECT
|
|
|
|
bool "Support the 'hdmidet' command"
|
|
|
|
help
|
|
|
|
This enables the 'hdmidet' command which detects if an HDMI monitor
|
|
|
|
is connected.
|
2017-11-27 12:25:09 +00:00
|
|
|
|
2019-06-14 07:35:33 +00:00
|
|
|
config CMD_NANDBCB
|
|
|
|
bool "i.MX6 NAND Boot Control Block(BCB) command"
|
2019-10-03 17:50:03 +00:00
|
|
|
depends on MTD_RAW_NAND && CMD_MTDPARTS
|
2019-10-18 09:46:19 +00:00
|
|
|
select BCH if MX6UL || MX6ULL
|
2020-05-05 14:04:00 +00:00
|
|
|
default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS)
|
2019-06-14 07:35:33 +00:00
|
|
|
help
|
|
|
|
Unlike normal 'nand write/erase' commands, this command update
|
|
|
|
Boot Control Block(BCB) for i.MX6 platform NAND IP's.
|
|
|
|
|
|
|
|
This is similar to kobs-ng, which is used in Linux as separate
|
|
|
|
rootfs package.
|
|
|
|
|
2021-03-25 09:30:02 +00:00
|
|
|
config FSL_MFGPROT
|
|
|
|
bool "Support the 'mfgprot' command"
|
2022-04-19 09:13:24 +00:00
|
|
|
depends on IMX_HAB && (ARCH_MX7 || ARCH_IMX8M)
|
2021-03-25 09:30:02 +00:00
|
|
|
help
|
|
|
|
This option enables the manufacturing protection command
|
|
|
|
which can be used has a protection feature for Manufacturing
|
|
|
|
process. With this tool is possible to authenticate the
|
|
|
|
chip to the OEM's server.
|
|
|
|
|
2017-11-27 12:25:09 +00:00
|
|
|
config NXP_BOARD_REVISION
|
|
|
|
bool "Read NXP board revision from fuses"
|
|
|
|
depends on ARCH_MX6 || ARCH_MX7
|
|
|
|
help
|
|
|
|
NXP boards based on i.MX6/7 contain the board revision information
|
|
|
|
stored in the fuses. Select this option if you want to be able to
|
|
|
|
retrieve the board revision information.
|
2018-12-05 16:04:02 +00:00
|
|
|
|
|
|
|
config DDRMC_VF610_CALIBRATION
|
|
|
|
bool "Enable DDRMC (DDR3) on-chip calibration"
|
|
|
|
depends on ARCH_VF610
|
|
|
|
help
|
|
|
|
Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3
|
|
|
|
memory parameters. Select this option if you want to calculate them
|
|
|
|
at boot time.
|
|
|
|
NOTE:
|
|
|
|
NXP does NOT recommend to perform this calibration at each boot. One
|
|
|
|
shall perform it on a new PCB and then use those values to program
|
|
|
|
the ddrmc_cr_setting on relevant board file.
|
2019-09-16 03:09:31 +00:00
|
|
|
|
2022-06-20 08:53:17 +00:00
|
|
|
config IMX8_ROMAPI
|
|
|
|
def_bool y
|
2022-07-26 08:40:39 +00:00
|
|
|
depends on IMX8MN || IMX8MP || IMX8ULP || IMX9
|
2022-06-20 08:53:17 +00:00
|
|
|
|
2019-09-16 03:09:31 +00:00
|
|
|
config SPL_IMX_ROMAPI_LOADADDR
|
|
|
|
hex "Default load address to load image through ROM API"
|
2022-07-26 08:40:35 +00:00
|
|
|
depends on IMX8_ROMAPI || SPL_BOOTROM_SUPPORT
|
|
|
|
default 0
|
2019-12-11 09:42:36 +00:00
|
|
|
|
|
|
|
config IMX_DCD_ADDR
|
|
|
|
hex "DCD Blocks location on the image"
|
|
|
|
default 0x00910000 if !ARCH_MX7ULP
|
|
|
|
default 0x2f010000 if ARCH_MX7ULP
|
|
|
|
help
|
|
|
|
Indicates where the Device Configuration Data, a binary table used by
|
|
|
|
the ROM code to configure the device at early boot stage, is located.
|
|
|
|
This information is shared with the user via mkimage -l just so the
|
|
|
|
image can be signed.
|
2021-08-07 08:00:40 +00:00
|
|
|
|
|
|
|
config SPL_LOAD_IMX_CONTAINER
|
|
|
|
bool "Enable SPL loading U-Boot as a i.MX Container image"
|
|
|
|
depends on SPL
|
|
|
|
help
|
|
|
|
This is to let SPL could load i.MX Container image
|
|
|
|
|
|
|
|
config IMX_CONTAINER_CFG
|
|
|
|
string "i.MX Container config file"
|
|
|
|
depends on SPL
|
|
|
|
help
|
|
|
|
This is to specific the cfg file for generating container
|
|
|
|
image which will be loaded by SPL.
|
2022-11-19 23:45:22 +00:00
|
|
|
|
|
|
|
config IOMUX_LPSR
|
|
|
|
bool
|
|
|
|
|
|
|
|
config IOMUX_SHARE_CONF_REG
|
|
|
|
bool
|