]> Git Repo - u-boot.git/commit
tools: kwboot: Replace ARM mov + movt instruction pair by mov + orr
authorPali Rohár <[email protected]>
Wed, 27 Oct 2021 18:57:01 +0000 (20:57 +0200)
committerStefan Roese <[email protected]>
Wed, 3 Nov 2021 05:45:27 +0000 (06:45 +0100)
commit558176dcb14d589b5854bea0988301e27b60091d
treefec67dbeca2601a69e30332161034b6b18292a8a
parent56452295c315397255d05e91940976f68c247d4a
tools: kwboot: Replace ARM mov + movt instruction pair by mov + orr

Older Armada SoCs have custom ARMv5te compatible core which does not
support movt instruction. So replace mov + movt instruction pair used for
immediate move construction by mov + orr instructions which are supported
also by ARMv5te.

After this change kwboot ARM code should be compatible with any 32-bit ARM
core compatible by ARMv2 or new. At least GNU AS does not throw any error
or warning.

Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
tools/kwboot.c
This page took 0.030774 seconds and 4 git commands to generate.