Commit 331f291e authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

firmware: Relocate when load address is not equal to link address



This patch extends fw_base to relocate to link address whenever
firmware load address is not equal to link address.

The relocation will not work when load start to load end overlap
link start to link end.

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Tested-by: default avatarLukas Auer <lukas.auer@aisec.fraunhofer.de>
parent 6fec1c7e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment