]> git.sur5r.net Git - u-boot/commit
omap: Set appropriate cache configuration for LPAE and non-LAPE cases
authorKeerthy <j-keerthy@ti.com>
Wed, 14 Sep 2016 05:13:29 +0000 (10:43 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2016 00:57:44 +0000 (20:57 -0400)
commit859c70df231981b1baafb79a0139515c8bde016c
tree692a6541620d6c58819360ea2a153691b6022210
parentc268a9bde00898acd8580f721a741dea1af871db
omap: Set appropriate cache configuration for LPAE and non-LAPE cases

Cache configuration methods is different for LPAE and non-LPAE cases.
Hence the bits and the interpretaion is different for two cases.
In case of non-LPAE mode short descriptor format is used and we need
to set Cache and Buffer bits.

In the case of LPAE the cache configuration happens via MAIR0 lookup.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/omap-cache.c