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>
This commit is contained in:
Elyes HAOUAS 2019-12-18 13:21:37 +01:00 committed by Patrick Georgi
parent 94ce79d6c8
commit 23c1c4e153
1 changed files with 2 additions and 2 deletions

View File

@ -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);