From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Tue, 20 Oct 2015 13:59:55 +0800 Subject: [U-Boot] [PATCH V2 3/3] imx: mx7: default enable non-secure mode In-Reply-To: <1445320795-2235-1-git-send-email-Peng.Fan@freescale.com> References: <1445320795-2235-1-git-send-email-Peng.Fan@freescale.com> Message-ID: <1445320795-2235-3-git-send-email-Peng.Fan@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes V2: default no enable CONFIG_ARMV7_VIRT include/configs/mx7_common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index ea2be49..fac76bd 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -92,4 +92,14 @@ #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 1 +#define CONFIG_ARMV7_PSCI 1 +#define CONFIG_ARMV7_PSCI_NR_CPUS 2 +#define CONFIG_ARMV7_SECURE_BASE 0x00900000 +#endif + #endif -- 1.8.4