diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-20 17:17:28 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-21 12:25:19 -0700 |
commit | 4bdb0422242559e2e00a4368d51c193e7f2f0bd1 (patch) | |
tree | 80ea0865f798dd5a592022c14abec2138e9bb93f | |
parent | a277416a39114336299f07bc52f3b26fcf07bcbe (diff) | |
download | riscv-openocd-4bdb0422242559e2e00a4368d51c193e7f2f0bd1.zip riscv-openocd-4bdb0422242559e2e00a4368d51c193e7f2f0bd1.tar.gz riscv-openocd-4bdb0422242559e2e00a4368d51c193e7f2f0bd1.tar.bz2 |
Allow memory writes to proceed on all harts
-rw-r--r-- | src/target/riscv/riscv-013.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index e770430..a68a1c7 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -1334,9 +1334,6 @@ static int read_memory(struct target *target, target_addr_t address, size, address); select_dmi(target); - /* There was a bug in the memory system and only accesses from hart 0 actually - * worked correctly. This should be obselete now. -palmer */ - riscv_set_current_hartid(target, 0); /* This program uses two temporary registers. A word of data and the * associated address are stored at some location in memory. The @@ -1532,9 +1529,6 @@ static int write_memory(struct target *target, target_addr_t address, LOG_DEBUG("writing %d words of %d bytes to 0x%08lx", count, size, (long)address); select_dmi(target); - /* There was a bug in the memory system and only accesses from hart 0 actually - * worked correctly. This should be obselete now. -palmer */ - riscv_set_current_hartid(target, 0); /* This program uses two temporary registers. A word of data and the * associated address are stored at some location in memory. The |