imx-common: cache: configure L2 Cache for i.MX6SLL
authorPeng Fan <peng.fan@nxp.com>
Sun, 11 Dec 2016 11:24:30 +0000 (19:24 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 10:38:24 +0000 (11:38 +0100)
commita472e9bd6a51d67de38ca8fe65e1df344d19849e
treedb5511b04e377ebe4e3a419940ef3155d28bcc69
parentdfca246f4cbc46b5bb714b611dcbd3f5eae3b1e6
imx-common: cache: configure L2 Cache for i.MX6SLL

If L2 cache configured as OCRAM, reset it.
Switch to use runtime check.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/imx-common/cache.c