From 5a2359bfa8b04503c345321e63d245d7db97b40b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Aug 2025 23:21:43 -0700 Subject: [PATCH] raspberrypi3-64,raspberrypi4-64: Use nocrypto default tunes SOCs used in rpi3 and rpi4 do not have AES crypto HW engine denote it by using more appropriate default tune, this ensures that it enforces +nocrypto into -mtune regardless of gcc or clang compiler. Signed-off-by: Khem Raj --- conf/machine/raspberrypi3-64.conf | 1 + conf/machine/raspberrypi4-64.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/conf/machine/raspberrypi3-64.conf b/conf/machine/raspberrypi3-64.conf index 50dd533..b2d64a4 100644 --- a/conf/machine/raspberrypi3-64.conf +++ b/conf/machine/raspberrypi3-64.conf @@ -11,6 +11,7 @@ MACHINE_EXTRA_RRECOMMENDS += "\ bluez-firmware-rpidistro-bcm4345c0-hcd \ " +DEFAULTTUNE ?= "cortexa53-nocrypto" require conf/machine/include/arm/armv8a/tune-cortexa53.inc include conf/machine/include/rpi-base.inc diff --git a/conf/machine/raspberrypi4-64.conf b/conf/machine/raspberrypi4-64.conf index 42ed4be..1d93772 100644 --- a/conf/machine/raspberrypi4-64.conf +++ b/conf/machine/raspberrypi4-64.conf @@ -12,6 +12,8 @@ MACHINE_EXTRA_RRECOMMENDS += "\ bluez-firmware-rpidistro-bcm4345c5-hcd \ " +DEFAULTTUNE = "cortexa72-nocrypto" + require conf/machine/include/arm/armv8a/tune-cortexa72.inc include conf/machine/include/rpi-base.inc