aboutsummaryrefslogtreecommitdiff
path: root/src/helper/types.h
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/helper/types.h
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/helper/types.h')
-rw-r--r--src/helper/types.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/helper/types.h b/src/helper/types.h
index b6747f8..f3d5e04 100644
--- a/src/helper/types.h
+++ b/src/helper/types.h
@@ -349,7 +349,6 @@ typedef uint64_t uintmax_t;
#endif
-#if BUILD_TARGET64
typedef uint64_t target_addr_t;
#define TARGET_ADDR_MAX UINT64_MAX
#define TARGET_PRIdADDR PRId64
@@ -357,15 +356,6 @@ typedef uint64_t target_addr_t;
#define TARGET_PRIoADDR PRIo64
#define TARGET_PRIxADDR PRIx64
#define TARGET_PRIXADDR PRIX64
-#else
-typedef uint32_t target_addr_t;
-#define TARGET_ADDR_MAX UINT32_MAX
-#define TARGET_PRIdADDR PRId32
-#define TARGET_PRIuADDR PRIu32
-#define TARGET_PRIoADDR PRIo32
-#define TARGET_PRIxADDR PRIx32
-#define TARGET_PRIXADDR PRIX32
-#endif
#define TARGET_ADDR_FMT "0x%8.8" TARGET_PRIxADDR
#endif /* OPENOCD_HELPER_TYPES_H */