commit | a17e77c53ba160e0394c331e6c37a4f3b271a78b | [log] [tgz] |
---|---|---|
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | Fri Jan 11 13:38:42 2019 +0000 |
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | Fri Jan 11 13:38:42 2019 +0000 |
tree | 5bb1569d66e350804389a334c0da7478538e87f2 | |
parent | 69068db7e2d0226c3ba8135aec31c01cb149187e [diff] |
xlat v2: Dynamically detect need for CnP bit ARMv8.2-TTCNP is mandatory from ARMv8.2 onwards, but it can be implemented in CPUs that don't implement all mandatory 8.2 features (and so have to claim to be a lower version). This patch removes usage of the ARM_ARCH_AT_LEAST() macro and uses system ID registers to detect whether it is needed to set the bit or not. Change-Id: Ie818c1b91fc319f194d17e21da922798a2a76ec6 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>