]> git.baikalelectronics.ru Git - uboot.git/commit
imx: Enable ACTLR.SMP bit for all i.MX cortex-a7 platforms
authorYe Li <ye.li@nxp.com>
Mon, 14 May 2018 12:44:29 +0000 (09:44 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 14:21:25 +0000 (16:21 +0200)
commit2535e66de0667c1f068a29ded613ac9be7b361db
treef7c79c497e2159cea8306c7a0d343039b31e455a
parentac78c3dba0a97d798db639289828e0f2861b52e7
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>
[fabio: adapted to U-Boot mainline codebase and make checkpatch happy]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/mach-imx/cache.c
arch/arm/mach-imx/mx7/soc.c