X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Ftarget%2Friscv%2Friscv-011.c;h=498da5ad5a207c08c154b363169ec5855037bafd;hb=d537cce7ef49bf2f4bc81cf016f784a9adf2537a;hp=f2a68698b1a9cf3bf21f9385e2ef3c95b089e00e;hpb=a51ab8ddf63a0d60eaaf3b8f3eedcada1e773c20;p=openocd.git diff --git a/src/target/riscv/riscv-011.c b/src/target/riscv/riscv-011.c index f2a68698b1..498da5ad5a 100644 --- a/src/target/riscv/riscv-011.c +++ b/src/target/riscv/riscv-011.c @@ -240,6 +240,7 @@ static unsigned int slot_offset(const struct target *target, slot_t slot) case SLOT1: return 5; case SLOT_LAST: return info->dramsize-1; } + break; case 64: switch (slot) { case SLOT0: return 4;