commit | 5bfd41d15c34a2c2139a036729cc0c574feaa8de | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed May 31 17:57:13 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Jun 09 13:39:32 2017 -0600 |
tree | 5109fd817bab7bcf296f3acf5f93883d090bea70 | |
parent | 3b3724755ce530d8f43f4bdb5b87594eb16b6548 [diff] |
arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use instructions which are invalid on ARMv4T. This happens on Tegra since it has an ARMv4T boot CPU. Add a check for the architecture version to allow the code to be built. It will not actually be executed by the boot CPU, but needs to compile. Signed-off-by: Simon Glass <sjg@chromium.org>