commit | c9f2953f0c282dc8b0a09059532eb19c01bd7924 | [log] [tgz] |
---|---|---|
author | anzhou <anzhou@nvidia.com> | Tue Aug 04 22:05:19 2020 +0800 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Mon Aug 31 11:21:17 2020 -0700 |
tree | b1cc46a8a603f087f723f2f98e50abb86ff08daa | |
parent | dd7de8542a656f765420ab75def23074870d6076 [diff] |
Tegra: common: fixup the bl31 code size to be copied at reset If the CPU doesn't run from BL31_BASE, the firmware needs to be copied from load address to BL31_BASE during cold boot. The size should be the actual size of the code, which is indicated by the __RELA_END__ linker variable. This patch updates the copy routine to use this variable as a result. Signed-off-by: anzhou <anzhou@nvidia.com> Change-Id: Ie3a48dd54cda1dc152204903d609da3117a0ced9