arm: Disable LPAE if not enabled
authorSimon Glass <sjg@chromium.org>
Wed, 31 May 2017 23:57:14 +0000 (17:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 19:39:32 +0000 (13:39 -0600)
commit50a4886b3b8579a5d3dad337906de9b5a3fef6d1
tree9afc72e4d90b51537d4e31121144d22f046f9db2
parent10d602ac8b6f576d545e35a951e1a714de0158a3
arm: Disable LPAE if not enabled

If CONFIG_ARMV7_LPAE is not defined we should make sure that the feature
is disabled. This can happen if U-Boot is chain-loaded from another boot
loader which does enable LPAE.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/cache-cp15.c