ARM: mm: Remove unnecessary CMO in Cortex A15 startup
authorBo Yan <byan@nvidia.com>
Wed, 12 Dec 2012 19:18:35 +0000 (11:18 -0800)
committerMandar Padmawar <mpadmawar@nvidia.com>
Mon, 4 Feb 2013 13:17:55 +0000 (05:17 -0800)
commit06b64751f50c2988714932b85740f2bfc768307f
tree2b6cccc6d6c21e170564d98758101bf561fd47c5
parentc6a46748cb2e708c10b83aa369a28d63f53721a8
ARM: mm: Remove unnecessary CMO in Cortex A15 startup

Cortex-A15 flush L2 cache after reset, there is no need to do this
in software, if L2 is already invalidated in bootloader and
cache is disabled. For secondary startup, there is no reason to
flush L2 as well.

This change assumes the setup code is always entered as the result
of CPU reset.

Change-Id: I6d58f8b4a638b70acfb35b97c87a09266aceef41
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/170563
(cherry picked from commit 26e7a8ea22abe09852fa1ce36b6cec8dc8fc5978)
Reviewed-on: http://git-master/r/196044
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
arch/arm/mm/proc-v7.S