From patchwork Wed Dec 20 18:19:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 10126283 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A55B60245 for ; Wed, 20 Dec 2017 18:20:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20CC728A71 for ; Wed, 20 Dec 2017 18:20:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1390329068; Wed, 20 Dec 2017 18:20:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 93F0628A71 for ; Wed, 20 Dec 2017 18:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=U8CZVL+wbDb0W0Vv8rJRPz/zggvyF6gojwjN86gH10g=; b=Ru3 Pp07zg+RBUAceo7u0qrdHkq3foU32mKlmSpuM7UnhnKjRBGijmY5jlIOcBBwoMFE3M/ebR6O8TajR ZeuqOKXVautJjqw5JbKRpiTGtvSwu0+NHHAvzV472966sYbXzmiYFujGh81tOXonMvFf1T1RyID4k 841VxzlY1asm2CTYsmEj2e7Xvd4MOexq/OGTWhQlG3oN/jD9dTTbb9g4Zxe2xfHoHRl/7ODTQ5lGt KAExTDDo2iNDIV+gsmNBKaKwm/Wr5KA5pZHn/2oXv9AJYfdlXvswOampB7cm8dACvZgOCjmP7ftWR v+mfH2j2TloqdjWdia7DCKma6wQolGQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eRiyE-0007mo-W5; Wed, 20 Dec 2017 18:19:59 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRiyA-0007jz-Tt for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2017 18:19:56 +0000 Received: by mail-wr0-x243.google.com with SMTP id p69so14227644wrb.8 for ; Wed, 20 Dec 2017 10:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=SKnD6eKdtcvt9i/M1CzHP0tMnj8mM7ZkDyB+3I6+5+A=; b=lAkUHbKkUa2a5YlKIzaocKmpNmwHDR9EF0eS8MJyKzPrd0HZ9wMqYEslK6dzs+EDR7 NuOjF09kCseyho6qPUnJ2W0YOy2VISZ2zUK5hszXiMiVW2fvGQtMilnG7FKMGv/MNkys i8nxx0Tgng6aUCjys4DfIghqkXSAIVfY0ILviAloz6vrvfVOANTeFMPN6+yq1dRlQS8k V3OnwCVUCO5Kqs7J96Uqn2gLOx965KMxrUgH7cvI5424+FThWaE1oaRKLWhOO2ZWBgQM 0N2zl/q6YsTNU0nqAGwZQiiu4K5BlARymemm/BPHC93dIDa6RMC78Do6nH8woMfPzPzH LO8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SKnD6eKdtcvt9i/M1CzHP0tMnj8mM7ZkDyB+3I6+5+A=; b=jg5ej0v3rI2JXfTZiPyw5Alluxn7albWl7Tihp90NQli7uBu8Omyy4sJlwVhoAVGVT U9XE4+Qr4qZLOaVfk9AZ++pZOXZpJ0Gl448hFOcZL/9rmkRtziqUgDceDcL1z9JfYNOv WtuaSbFHFUwVGFMEtOhd1mFo3VQlKBxJdKM0PGIPdRjA1eAmgNAT1ZTOX2OEz3SjRN0x QyA+s62nG38w9rrw+4dhHEbOxHVQ6sB+KC1FdgwxEizlVfGBZoq2vsckn2sF+/pZsZjj l7Y6xmSbvKm0FzdZxbqmP+fGPVN0rEQif2YYSRoC2JudTL6wQbw18HKI0cH8hLO1FgW0 Gg7Q== X-Gm-Message-State: AKGB3mIbiqSmMDDbILo+ArS46kqMR/s46V32zTlsDxDUFbBqQVWlbaxc +z5QjFri6dBBoN64izoJMuXm6g== X-Google-Smtp-Source: ACJfBovuB9MgwiZBN4qtTIPZcfd98OkaA3Ez3NZcZ9dhYsxpf/Jh5MTPo9VwXimi6g/5pB3QweZE4g== X-Received: by 10.223.135.185 with SMTP id b54mr9381542wrb.108.1513793982591; Wed, 20 Dec 2017 10:19:42 -0800 (PST) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id w91sm14000028wrc.79.2017.12.20.10.19.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Dec 2017 10:19:41 -0800 (PST) From: Corentin Labbe To: herbert@gondor.apana.org.au, davem@davemloft.net, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, lionel.debieve@st.com, fabien.dessenne@st.com Subject: [PATCH] crypto: stm32 - Use standard CONFIG name Date: Wed, 20 Dec 2017 18:19:32 +0000 Message-Id: <1513793972-11173-1-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171220_101954_989107_F9E1D2E9 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Corentin Labbe , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP All hardware crypto devices have their CONFIG names using the following convention: CRYPTO_DEV_name_algo This patch apply this conventions on STM32 CONFIG names. Signed-off-by: Corentin Labbe Reviewed-by: Fabien Dessenne --- drivers/crypto/stm32/Kconfig | 6 +++--- drivers/crypto/stm32/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/stm32/Kconfig b/drivers/crypto/stm32/Kconfig index 61ef00b6bf45..63aa78c0b12b 100644 --- a/drivers/crypto/stm32/Kconfig +++ b/drivers/crypto/stm32/Kconfig @@ -1,4 +1,4 @@ -config CRC_DEV_STM32 +config CRYPTO_DEV_STM32_CRC tristate "Support for STM32 crc accelerators" depends on ARCH_STM32 select CRYPTO_HASH @@ -6,7 +6,7 @@ config CRC_DEV_STM32 This enables support for the CRC32 hw accelerator which can be found on STMicroelectronics STM32 SOC. -config HASH_DEV_STM32 +config CRYPTO_DEV_STM32_HASH tristate "Support for STM32 hash accelerators" depends on ARCH_STM32 depends on HAS_DMA @@ -19,7 +19,7 @@ config HASH_DEV_STM32 This enables support for the HASH hw accelerator which can be found on STMicroelectronics STM32 SOC. -config CRYP_DEV_STM32 +config CRYPTO_DEV_STM32_CRYP tristate "Support for STM32 cryp accelerators" depends on ARCH_STM32 select CRYPTO_HASH diff --git a/drivers/crypto/stm32/Makefile b/drivers/crypto/stm32/Makefile index 2c19fc155bfd..53d1bb94b221 100644 --- a/drivers/crypto/stm32/Makefile +++ b/drivers/crypto/stm32/Makefile @@ -1,3 +1,3 @@ -obj-$(CONFIG_CRC_DEV_STM32) += stm32_crc32.o -obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o -obj-$(CONFIG_CRYP_DEV_STM32) += stm32-cryp.o +obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32_crc32.o +obj-$(CONFIG_CRYPTO_DEV_STM32_HASH) += stm32-hash.o +obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o