diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig index a7252a0..7aad9d4 100644 --- a/arch/arm/imx-common/Kconfig +++ b/arch/arm/imx-common/Kconfig @@ -45,6 +45,16 @@ config SECURE_BOOT This option enables the support for secure boot (HAB). See doc/README.mxc_hab for more details. +config CMD_DEKBLOB + bool "Support the 'dek_blob' command" + depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M && !MX7ULP + depends on SECURE_BOOT + 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 + more information. + config FSL_MFGPROT bool "Support the 'mfgprot' command" depends on SECURE_BOOT && ARCH_MX7 diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index a3c3729..c84dd6c 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -111,9 +111,6 @@ defined(CONFIG_MX6DL)) && !defined(CONFIG_MX6S) /* Secure boot (HAB) support */ #ifdef CONFIG_SECURE_BOOT #define CONFIG_CSF_SIZE 0x4000 -#if !defined(CONFIG_MX6ULL) && !defined(CONFIG_MX6SLL) && !defined(CONFIG_MX6SL) -#define CONFIG_CMD_DEKBLOB -#endif #ifdef CONFIG_SPL_BUILD #define CONFIG_SPL_DRIVERS_MISC_SUPPORT #endif diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index c3939b0..227e469 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -71,7 +71,6 @@ /* Secure boot (HAB) support */ #ifdef CONFIG_SECURE_BOOT #define CONFIG_CSF_SIZE 0x4000 -#define CONFIG_CMD_DEKBLOB #endif #ifdef CONFIG_IMX_OPTEE diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index a326393..7aa02ce 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -471,7 +471,6 @@ CONFIG_CMD_CPLBINFO CONFIG_CMD_CRAMFS CONFIG_CMD_DATE CONFIG_CMD_DEFAULTENV_VARS -CONFIG_CMD_DEKBLOB CONFIG_CMD_DFL CONFIG_CMD_DIAG CONFIG_CMD_DISPLAY