From 23c1c4e153e8f1311b2e04a19a7e0c66d648e972 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 18 Dec 2019 13:21:37 +0100 Subject: commonlib/fsp_relocate: Fix typos Change-Id: I9426b88c0936c68d02554b580cc312902b8e5e13 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/37810 Reviewed-by: Frans Hendriks Tested-by: build bot (Jenkins) --- src/commonlib/fsp_relocate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commonlib') diff --git a/src/commonlib/fsp_relocate.c b/src/commonlib/fsp_relocate.c index 85deda2470..a8b45fa1fa 100644 --- a/src/commonlib/fsp_relocate.c +++ b/src/commonlib/fsp_relocate.c @@ -136,8 +136,8 @@ static int te_relocate(uintptr_t new_addr, void *te) /* * A TE image is created by converting a PE file. Because of this * the offsets within the headers are off. In order to calculate - * the correct releative offets one needs to subtract fixup_offset - * from the encoded offets. Similarly, the linked address of the + * the correct relative offsets one needs to subtract fixup_offset + * from the encoded offsets. Similarly, the linked address of the * program is found by adding the fixup_offset to the ImageBase. */ fixup_offset = read_le16(&teih->StrippedSize); -- cgit v1.2.3