aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv7a_mmu.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-06-17 15:46:11 -0700
committerAntonio Borneo <borneo.antonio@gmail.com>2020-04-21 12:55:41 +0100
commit5c6e32612df3360abe0ada4e434783b5636643f2 (patch)
treeb62dbb2a873f6342ed69e452705e0ee674063a2d /src/target/armv7a_mmu.c
parent5c8de6a7253641bf1e4789bdc3b1e89ab741b1d1 (diff)
downloadriscv-openocd-5c6e32612df3360abe0ada4e434783b5636643f2.zip
riscv-openocd-5c6e32612df3360abe0ada4e434783b5636643f2.tar.gz
riscv-openocd-5c6e32612df3360abe0ada4e434783b5636643f2.tar.bz2
Remove BUILD_TARGET64
BUILD_TARGET64 creates a larger test matrix and mostly gates the building of the aarch64/armv8 target, make that unconditional, which would help fixing any issues with 64-bit address types anyway. Rebased by Antonio Borneo after commit 1fbe8450a9dd ("mips: Add MIPS64 support") Change-Id: I219f62b744d540d9dde9a42e6b63fd7d91df3dbb Suggested-by: Matthias Welwarsky <matthias@welwarsky.de> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5240 Tested-by: jenkins
Diffstat (limited to 'src/target/armv7a_mmu.c')
-rw-r--r--src/target/armv7a_mmu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/target/armv7a_mmu.c b/src/target/armv7a_mmu.c
index f83228d..eec14a3 100644
--- a/src/target/armv7a_mmu.c
+++ b/src/target/armv7a_mmu.c
@@ -62,12 +62,6 @@ int armv7a_mmu_translate_va_pa(struct target *target, uint32_t va,
/* decode memory attribute */
SS = (value >> 1) & 1;
-#if !BUILD_TARGET64
- if (SS) {
- LOG_ERROR("Super section found with no-64 bit address support");
- return ERROR_FAIL;
- }
-#endif
NOS = (value >> 10) & 1; /* Not Outer shareable */
NS = (value >> 9) & 1; /* Non secure */
INNER = (value >> 4) & 0x7;