summaryrefslogtreecommitdiff
path: root/arch/arm/boot/compressed/head.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-09-14 11:25:46 +0300
committerArd Biesheuvel <ardb@kernel.org>2020-10-28 17:05:40 +0100
commit3bcf906b194cebb6817cbb2f07b69e12aa5d7f51 (patch)
tree2908db68b7fad9927a9231ca311d80bbafb9fea7 /arch/arm/boot/compressed/head.S
parentd74d2b225018baa0e04e080ee9e80b21667ba3a2 (diff)
ARM: head.S: use PC relative insn sequence to calculate PHYS_OFFSET
Replace the open coded arithmetic with a simple adr_l/sub pair. This removes some open coded arithmetic involving virtual addresses, avoids literal pools on v7+, and slightly reduces the footprint of the code. Reviewed-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/arm/boot/compressed/head.S')
0 files changed, 0 insertions, 0 deletions