summaryrefslogtreecommitdiff
path: root/src/commonlib/fsp_relocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib/fsp_relocate.c')
-rw-r--r--src/commonlib/fsp_relocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/fsp_relocate.c b/src/commonlib/fsp_relocate.c
index c7c4b5a9ef..379930b22b 100644
--- a/src/commonlib/fsp_relocate.c
+++ b/src/commonlib/fsp_relocate.c
@@ -275,7 +275,7 @@ static int pe_relocate(uintptr_t new_addr, void *pe, void *fsp, size_t fih_off)
img_base_off += delta;
write_le32(&ophdr->ImageBase, img_base_off);
- return -1;
+ return 0;
}
static int te_relocate(uintptr_t new_addr, void *te)