Add missing return.

Change-Id: Ida32482903cdfd8eeb043088e84bb1f4f5ac673c
macbuild
Tim Newsome 2017-11-16 15:58:08 -08:00
parent e28abf7c9e
commit 52cdf286ca
1 changed files with 1 additions and 0 deletions

View File

@ -877,6 +877,7 @@ static int scratch_find(struct target *target,
~(alignment - 1); ~(alignment - 1);
scratch->memory_space = SPACE_DMI_RAM; scratch->memory_space = SPACE_DMI_RAM;
scratch->debug_address = scratch->hart_address; scratch->debug_address = scratch->hart_address;
return ERROR_OK;
} }
LOG_ERROR("Couldn't find %d bytes of scratch RAM to use. Please configure " LOG_ERROR("Couldn't find %d bytes of scratch RAM to use. Please configure "