]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: -march=armv5t for ARM11
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 7 Dec 2019 08:14:50 +0000 (09:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 9 Dec 2019 15:36:00 +0000 (10:36 -0500)
commit0c5c3f293554614416a188d16a8c05e0a6c5bfbb
tree2444ef44f85a41b1dcf187746e5a6f6ae100c4c5
parent37db55b7e9dbbc25e4179ec5b7be8e286e47a44d
arm: -march=armv5t for ARM11

In GCC 9 support for the Armv5 and Armv5E architectures (which have no
known implementations) has been removed, cf.
https://gcc.gnu.org/gcc-9/changes.html

Commit 16540d07fd62 ("arm: fix -march for ARM11") changed the value of the
compiler flag from -march=armv5 and -march=armv5t into -march=armv6 for
ARM11.

The values prior to this patch were:

    arch-$(CONFIG_CPU_ARM1136)     =-march=armv5
    arch-$(CONFIG_CPU_ARM1176)     =-march=armv5t

The change lead to a regression with the Raspberry Pi Zero W not booting
anymore.

Use -march=armv5t both for ARM1136 and ARM1176.

Fixes: 16540d07fd62 ("arm: fix -march for ARM11")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Joris Offouga <offougajoris@gmail.com>
arch/arm/Makefile