commit | 54f5d676461cc9d5fea340765b821c564784af7d | [log] [tgz] |
---|---|---|
author | Jiafei Pan <Jiafei.Pan@nxp.com> | Tue Mar 27 23:00:55 2018 +0800 |
committer | Jiafei Pan <Jiafei.Pan@nxp.com> | Sat Apr 07 10:13:59 2018 +0800 |
tree | 192dda212c988e8ae5802cba44b3be0b9896dc6b | |
parent | 43a7bf4d4628f049ead65115edf34a17dde9df25 [diff] |
fix instruction address range limitation For the adr instruction, it require the label's offset from the address of this instruction must be in the range +/-1MB. If the option "BL2_IN_XIP_MEM" is set to '1', in some cases, BL2's RW memory will not in the range of +/-1MB from BL2's RO memory region. so we need to use ldr instruction to cover this case. Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>