Merge pull request #146 from riscv/scratch_ram

Fix cut and paste bug.
This commit is contained in:
Tim Newsome
2017-12-14 14:22:10 -08:00
committed by GitHub
+1 -1
View File
@@ -873,7 +873,7 @@ static int scratch_find(struct target *target,
}
if (riscv_use_scratch_ram) {
scratch->hart_address = (riscv_use_scratch_ram + alignment - 1) &
scratch->hart_address = (riscv_scratch_ram_address + alignment - 1) &
~(alignment - 1);
scratch->memory_space = SPACE_DMI_RAM;
scratch->debug_address = scratch->hart_address;