From: Peng Fan Date: Fri, 23 Oct 2015 02:13:05 +0000 (+0800) Subject: imx: mx7: default enable non-secure mode X-Git-Tag: v2016.01-rc1~2^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90ab4be1b204da04e9756fe582bd98cc8274c134;p=platform%2Fkernel%2Fu-boot.git imx: mx7: default enable non-secure mode Support PSCI and switch to non-secure mode when booting linux. Signed-off-by: Peng Fan Signed-off-by: Frank Li Cc: Stefano Babic Cc: Fabio Estevam --- diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index ffe4d81..5615a34 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -91,4 +91,15 @@ #define CONFIG_CMD_FUSE #define CONFIG_MXC_OCOTP +/* + * Default boot linux kernel in no secure mode. + * If want to boot kernel in secure mode, please define CONFIG_MX7_SEC + */ +#ifndef CONFIG_MX7_SEC +#define CONFIG_ARMV7_NONSEC +#define CONFIG_ARMV7_PSCI +#define CONFIG_ARMV7_PSCI_NR_CPUS 2 +#define CONFIG_ARMV7_SECURE_BASE 0x00900000 +#endif + #endif