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:
parent
94ce79d6c8
commit
23c1c4e153
|
@ -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
|
* 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 offsets within the headers are off. In order to calculate
|
||||||
* the correct releative offets one needs to subtract fixup_offset
|
* the correct relative offsets one needs to subtract fixup_offset
|
||||||
* from the encoded offets. Similarly, the linked address of the
|
* from the encoded offsets. Similarly, the linked address of the
|
||||||
* program is found by adding the fixup_offset to the ImageBase.
|
* program is found by adding the fixup_offset to the ImageBase.
|
||||||
*/
|
*/
|
||||||
fixup_offset = read_le16(&teih->StrippedSize);
|
fixup_offset = read_le16(&teih->StrippedSize);
|
||||||
|
|
Loading…
Reference in New Issue