]> Git Repo - u-boot.git/commit
imx6: cache: disable L2 before touching Auxiliary Control Register
authorPeng Fan <[email protected]>
Wed, 4 May 2016 07:27:50 +0000 (15:27 +0800)
committerTom Rini <[email protected]>
Fri, 6 May 2016 14:43:39 +0000 (10:43 -0400)
commitad7af5d7e4caf49581c7403d5a8edc0f11a5f652
tree8c9506f950d5f409413970d08f7b697e65c961fe
parentdaa69f5f5dba48406836b1879434fc4af4bb7df7
imx6: cache: disable L2 before touching Auxiliary Control Register

According PL310 TRM, Auxiliary Control Register
"
The register must be written to using a secure access, and it can be
read using either a secure or a NS access. If you write to this register
with a NS access, it results in a write response with a DECERR response,
and the register is not updated. Writing to this register with the L2
cache enabled, that is, bit[0] of L2 Control Register set to 1,
results in a SLVERR.
"

So If L2 cache is already enabled by ROM, chaning value of ACR
will cause SLVERR and uboot hang.

Signed-off-by: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
arch/arm/imx-common/cache.c
This page took 0.03339 seconds and 4 git commands to generate.