From 0e54044ac7d5f884e2be9f678e505613a4b3ce78 Mon Sep 17 00:00:00 2001 From: mwachs5 Date: Mon, 10 Apr 2017 13:57:31 -0700 Subject: [PATCH] Remove Off By 1 FIXME because HW is fixed --- src/target/riscv/riscv-013.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 485a385e0..6a1da10fa 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -1229,9 +1229,7 @@ static int examine(struct target *target) r->hart_count = i + 1; } - /* FIXME: This is broken. */ - LOG_ERROR("Enumerated %d harts, but there's an off-by-one error in the hardware", r->hart_count); - r->hart_count--; + LOG_DEBUG("Enumerated %d harts", r->hart_count); /* Halt every hart so we can probe them. */ riscv_halt_all_harts(target);