imx: add module fuse support
[oweals/u-boot.git] / arch / arm / mach-imx / Kconfig
index b6fd1595f0463db4ff36cebdec166bf069bfec5d..396f7c92887b7844b94c0e710457e53c5e746831 100644 (file)
@@ -27,6 +27,13 @@ config IMX_BOOTAUX
        help
          bootaux [addr] to boot auxiliary core.
 
+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.
+
 config USE_IMXIMG_PLUGIN
        bool "Use imximage plugin code"
        depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP
@@ -34,14 +41,21 @@ config USE_IMXIMG_PLUGIN
          i.MX6/7 supports DCD and Plugin. Enable this configuration
          to use Plugin, otherwise DCD will be used.
 
-config SECURE_BOOT
+config IMX_HAB
        bool "Support i.MX HAB features"
        depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
        select FSL_CAAM if HAS_CAAM
        imply CMD_DEKBLOB
        help
          This option enables the support for secure boot (HAB).
-         See doc/README.mxc_hab for more details.
+         See doc/imx/habv4/* for more details.
+
+config CSF_SIZE
+       hex "Maximum size for Command Sequence File (CSF) binary"
+       default 0x2060
+       help
+         Define the maximum size for Command Sequence File (CSF) binary
+         this information is used to define the image boot data.
 
 config CMD_BMODE
        bool "Support the 'bmode' command"
@@ -62,7 +76,7 @@ config CMD_DEKBLOB
        help
          This enables the 'dek_blob' command which is used with the
          Freescale secure boot mechanism. This command encapsulates and
-         creates a blob of data. See also CMD_BLOB and doc/README.mxc_hab for
+         creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for
          more information.
 
 config CMD_HDMIDETECT
@@ -71,6 +85,18 @@ config CMD_HDMIDETECT
          This enables the 'hdmidet' command which detects if an HDMI monitor
          is connected.
 
+config CMD_NANDBCB
+       bool "i.MX6 NAND Boot Control Block(BCB) command"
+       depends on MTD_RAW_NAND && CMD_MTDPARTS
+       select BCH if MX6UL || MX6ULL
+       default y if (ARCH_MX6 && NAND_MXS) || (ARCH_MX7 && NAND_MXS)
+       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.
+
 config NXP_BOARD_REVISION
        bool "Read NXP board revision from fuses"
        depends on ARCH_MX6 || ARCH_MX7
@@ -90,3 +116,17 @@ config DDRMC_VF610_CALIBRATION
          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.
+
+config SPL_IMX_ROMAPI_LOADADDR
+       hex "Default load address to load image through ROM API"
+       depends on IMX8MN || IMX8MP
+
+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.