diff options
Diffstat (limited to 'riscv/jtag_dtm.cc')
-rw-r--r-- | riscv/jtag_dtm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/jtag_dtm.cc b/riscv/jtag_dtm.cc index 3e44c5e..576e495 100644 --- a/riscv/jtag_dtm.cc +++ b/riscv/jtag_dtm.cc @@ -25,8 +25,8 @@ enum { #define DTMCONTROL_DBUSRESET (1<<16) #define DMI_OP 3 -#define DMI_DATA (0xffffffffL<<2) -#define DMI_ADDRESS ((1L<<(abits+34)) - (1L<<34)) +#define DMI_DATA (0xffffffffLL<<2) +#define DMI_ADDRESS ((1LL<<(abits+34)) - (1LL<<34)) #define DMI_OP_STATUS_SUCCESS 0 #define DMI_OP_STATUS_RESERVED 1 |