pmaports/device/testing/u-boot-samsung-i9100/0001-ARM-Use-armv7-a-instruction-set-for-ARMv7-CPUs.patch
Paul Cercueil 08594dba17
u-boot-samsung-i9100: New package (MR 1154)
This is the downstream u-boot port for the Galaxy S2.

The load script has been slightly altered to load the kernel from the
KERNEL partition at the 512 KiB offset, instead of loading it from the
RECOVERY partition, since PostmarketOS places the second initramfs in
the RECOVERY partition.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-06-25 15:51:25 +02:00

26 lines
900 B
Diff

From 789072d9fe7d79cb04449da731c07f998255a1ed Mon Sep 17 00:00:00 2001
From: Paul Cercueil <paul@crapouillou.net>
Date: Sun, 12 Apr 2020 15:12:44 +0200
Subject: [PATCH 1/3] ARM: Use armv7-a instruction set for ARMv7 CPUs
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/arm/cpu/armv7/config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk
index 83ddf10f1f..1aba9274b8 100644
--- a/arch/arm/cpu/armv7/config.mk
+++ b/arch/arm/cpu/armv7/config.mk
@@ -23,7 +23,7 @@
PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
# Make ARMv5 to allow more compilers to work, even though its v7a.
-PLATFORM_CPPFLAGS += -march=armv5
+PLATFORM_CPPFLAGS += -march=armv7-a
# =========================================================================
#
# Supply options according to compiler version
--
2.25.1