summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2020-09-30 17:39:14 +0100
committerTom Rini <[email protected]>2020-10-08 11:42:36 -0400
commit9a984f100ed1d2d4a3aed7db9cfd1a3892e2bccd (patch)
treeead0e6a3694bb5d4fe59e355dbfc0b2e2e6307dd /scripts/checkpatch.pl
parenteabc0902155aa36f603f628360706767202affb2 (diff)
arm64: PIE: Skip fixups if distance is zero
When the actual offset between link and runtime address is zero, there is no need for patching up U-Boot early when running with CONFIG_POSITION_INDEPENDENT. Skip the whole routine when the distance is 0. This helps when U-Boot is loaded into ROM, or in otherwise sensitive memory locations. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Stephen Warren <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions