summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-03-13 14:03:53 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 19:48:57 +0800
commit79e968112ebeeb4c656263a434f6fbffc8f533d9 (patch)
tree358383dba59de1bdbb8f0966d56db782208ec5a2 /arch/arm/cpu
parentb4db09bc0fc96e7c7461afade6346e0700ad582f (diff)
downloadu-boot-imx-79e968112ebeeb4c656263a434f6fbffc8f533d9.zip
u-boot-imx-79e968112ebeeb4c656263a434f6fbffc8f533d9.tar.gz
u-boot-imx-79e968112ebeeb4c656263a434f6fbffc8f533d9.tar.bz2
MLK-14417 imx: Enable ACTLR.SMP bit for all i.MX cortex-a7 platforms
According to the Cortex-A7 TRM, for ACTLR.SMP bit "You must ensure this bit is set to 1 before the caches and MMU are enabled, or any cache and TLB maintenance operations are performed". ROM sets this bit in normal boot flow, but when in serial download mode, it is not set. Here we add it in u-boot as a common flow for all i.MX cortex-a7 platforms, including mx7d, mx6ul/ull and mx7ulp. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 14990af03450f3e1898135c86fd8b93328007617)
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/mx7/soc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c
index 332d977..89a339c 100644
--- a/arch/arm/cpu/armv7/mx7/soc.c
+++ b/arch/arm/cpu/armv7/mx7/soc.c
@@ -480,13 +480,6 @@ int mmc_get_env_dev(void)
void s_init(void)
{
-#if !defined CONFIG_SPL_BUILD
- /* Enable SMP mode for CPU0, by setting bit 6 of Auxiliary Ctl reg */
- asm volatile(
- "mrc p15, 0, r0, c1, c0, 1\n"
- "orr r0, r0, #1 << 6\n"
- "mcr p15, 0, r0, c1, c0, 1\n");
-#endif
/* clock configuration. */
clock_init();