From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 14 Aug 2024 11:33:02 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1seANK-009UVb-0L for lore@lore.pengutronix.de; Wed, 14 Aug 2024 11:33:02 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1seANJ-0000HL-Hk; Wed, 14 Aug 2024 11:33:01 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1seANF-0000Ez-Js; Wed, 14 Aug 2024 11:32:57 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1seANF-000KOJ-2w; Wed, 14 Aug 2024 11:32:57 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1seANF-002YqY-07; Wed, 14 Aug 2024 11:32:57 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Wed, 14 Aug 2024 11:32:06 +0200 Message-Id: <20240814093207.606528-4-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240814093207.606528-1-rhi@pengutronix.de> References: <20240814093207.606528-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [RESEND][PATCH v1 3/6] v7a_noneon: barebox: use ARM-optimized routines where appropriate X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false From: Ahmad Fatoum The ARM optimized string routines are a good deal faster, so enable them. While at it, also enable SHA1 acceleration on the VExpress, which so far had only the generic SHA1 implementation enabled. Signed-off-by: Ahmad Fatoum --- configs/platform-v7a_noneon/barebox-at91.config | 2 +- configs/platform-v7a_noneon/barebox-at91.config.diff | 1 - configs/platform-v7a_noneon/barebox-vexpress.config | 2 +- configs/platform-v7a_noneon/barebox-vexpress.config.diff | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config index 97f5f2b95031..4e0c69761551 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config +++ b/configs/platform-v7a_noneon/barebox-at91.config @@ -77,7 +77,7 @@ CONFIG_32BIT=y # # ARM specific settings # -# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set +CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y CONFIG_ARM_EXCEPTIONS=y CONFIG_ARM_UNWIND=y # CONFIG_ARM_SEMIHOSTING is not set diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff index 9f362cd4f8aa..36e17449b38f 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config.diff +++ b/configs/platform-v7a_noneon/barebox-at91.config.diff @@ -7,7 +7,6 @@ CONFIG_ARCH_AT91=y # CONFIG_ARCH_OMAP_MULTI is undefined # CONFIG_ARCH_ROCKCHIP is undefined # CONFIG_ARM_AMBA is undefined -# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set # CONFIG_ARM_SECURE_MONITOR is undefined # CONFIG_ARM_SMCCC is undefined CONFIG_AT91SAM9_SMC=y diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config index 39429bbce6fb..f1cde1c36f14 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config +++ b/configs/platform-v7a_noneon/barebox-vexpress.config @@ -944,7 +944,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y # CONFIG_DIGEST_SHA384_GENERIC is not set # CONFIG_DIGEST_SHA512_GENERIC is not set # CONFIG_DIGEST_HMAC_GENERIC is not set -# CONFIG_DIGEST_SHA1_ARM is not set +CONFIG_DIGEST_SHA1_ARM=y # CONFIG_DIGEST_SHA256_ARM is not set # CONFIG_CRYPTO_KEYSTORE is not set # end of Crypto support diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config.diff b/configs/platform-v7a_noneon/barebox-vexpress.config.diff index 8467df162532..dd842cf761df 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config.diff +++ b/configs/platform-v7a_noneon/barebox-vexpress.config.diff @@ -12,6 +12,7 @@ CONFIG_ARCH_VEXPRESS=y # CONFIG_CONSOLE_ACTIVATE_FIRST is not set CONFIG_CONSOLE_ACTIVATE_NONE=y # CONFIG_DEBUG_PBL is not set +CONFIG_DIGEST_SHA1_ARM=y CONFIG_DRIVER_CFI=y CONFIG_DRIVER_CFI_AMD=y CONFIG_DRIVER_CFI_BANK_WIDTH_1=y -- 2.39.2