[PATCH u-boot v4 20/36] ARM: global_data: make set_gd() work for armv5 and armv6

Simon Glass sjg at chromium.org
Thu May 20 19:51:59 CEST 2021


On Thu, 20 May 2021 at 05:25, Marek Behún <marek.behun at nic.cz> wrote:
>
> The Thumb instruction `ldr` is able to move high registers only from
> armv7. For armv5 and armv6 we have to use `mov`.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
>  arch/arm/include/asm/global_data.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list