summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-18 13:21:37 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-19 17:50:22 +0000
commit23c1c4e153e8f1311b2e04a19a7e0c66d648e972 (patch)
tree0374e83712a8e1bd9d20718f89821399056fe3de /src
parent94ce79d6c8d4ee04f55be0bb95feb62411ec8d88 (diff)
commonlib/fsp_relocate: Fix typos
Change-Id: I9426b88c0936c68d02554b580cc312902b8e5e13 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37810 Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/commonlib/fsp_relocate.c4
1 files changed, 2 insertions, 2 deletions
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);