From 285226785ee178c0bbe8a67185c21e461cf4bc9f Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 1 Mar 2017 16:51:58 -0500 Subject: Freescale/NXP: Migrate CONFIG_FSL_CAAM to defconfigs In some cases this is absolutely required, so select this for some secure features. This also requires migration of RSA_FREESCALE_EXP Cc: Ruchika Gupta Cc: Poonam Aggrwal Cc: Naveen Burmi Cc: Po Liu Cc: Shengzhou Liu Cc: Priyanka Jain Cc: Sumit Garg Cc: Shaohui Xie Cc: Chunhe Lan Cc: Feng Li Cc: Alison Wang Cc: Mingkai Hu Cc: York Sun Cc: Saksham Jain Cc: Prabhakar Kushwaha Signed-off-by: Tom Rini --- arch/arm/imx-common/Kconfig | 1 + arch/arm/include/asm/fsl_secure_boot.h | 5 ----- arch/powerpc/include/asm/fsl_secure_boot.h | 5 ----- 3 files changed, 1 insertion(+), 10 deletions(-) (limited to 'arch') diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig index a6b61ad..7ee74d5 100644 --- a/arch/arm/imx-common/Kconfig +++ b/arch/arm/imx-common/Kconfig @@ -28,6 +28,7 @@ config USE_IMXIMG_PLUGIN config SECURE_BOOT bool "Support i.MX HAB features" depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 + select FSL_CAAM help This option enables the support for secure boot (HAB). See doc/README.mxc_hab for more details. diff --git a/arch/arm/include/asm/fsl_secure_boot.h b/arch/arm/include/asm/fsl_secure_boot.h index 17ca540..ccb513f 100644 --- a/arch/arm/include/asm/fsl_secure_boot.h +++ b/arch/arm/include/asm/fsl_secure_boot.h @@ -12,11 +12,6 @@ #define CONFIG_FSL_SEC_MON #define CONFIG_SHA_HW_ACCEL #define CONFIG_SHA_PROG_HW_ACCEL -#define CONFIG_RSA_FREESCALE_EXP - -#ifndef CONFIG_FSL_CAAM -#define CONFIG_FSL_CAAM -#endif #define CONFIG_SPL_BOARD_INIT #ifdef CONFIG_SPL_BUILD diff --git a/arch/powerpc/include/asm/fsl_secure_boot.h b/arch/powerpc/include/asm/fsl_secure_boot.h index e17ead5..1b7cf09 100644 --- a/arch/powerpc/include/asm/fsl_secure_boot.h +++ b/arch/powerpc/include/asm/fsl_secure_boot.h @@ -103,11 +103,6 @@ #define CONFIG_CMD_BLOB #define CONFIG_FSL_SEC_MON #define CONFIG_SHA_PROG_HW_ACCEL -#define CONFIG_RSA_FREESCALE_EXP - -#ifndef CONFIG_FSL_CAAM -#define CONFIG_FSL_CAAM -#endif #ifndef CONFIG_SPL_BUILD /* -- cgit v1.1