diff options
author | Kent Brinkley <jkbrinkley.imgtec@gmail.com> | 2014-10-21 07:46:30 -0700 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2016-10-04 11:41:34 +0100 |
commit | 727f178ab9d7cee04d883555aa57b917c3f2296c (patch) | |
tree | df5fa4375219de96de9d9681909ddd49528a7fe5 /src/target/mips32.h | |
parent | 5108fb591b845ba066430ded56ca9c17e26d3f3f (diff) | |
download | riscv-openocd-727f178ab9d7cee04d883555aa57b917c3f2296c.zip riscv-openocd-727f178ab9d7cee04d883555aa57b917c3f2296c.tar.gz riscv-openocd-727f178ab9d7cee04d883555aa57b917c3f2296c.tar.bz2 |
mips: Added #define for scan_delay legacy mode default value
Believe in using defines to make maintenance easier.
Change-Id: I8edf151352131bbf2b884dfcd67ca5764b11b13c
Signed-off-by: Kent Brinkley <jkbrinkley.imgtec@gmail.com>
Reviewed-on: http://openocd.zylin.com/2350
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
Diffstat (limited to 'src/target/mips32.h')
-rw-r--r-- | src/target/mips32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/mips32.h b/src/target/mips32.h index bfd2cf5..8362f5e 100644 --- a/src/target/mips32.h +++ b/src/target/mips32.h @@ -61,6 +61,8 @@ #define MIPS32_ARCH_REL1 0x0 #define MIPS32_ARCH_REL2 0x1 +#define MIPS32_SCAN_DELAY_LEGACY_MODE 2000000 + /* offsets into mips32 core register cache */ enum { MIPS32_PC = 37, |