From patchwork Tue Aug 16 19:49:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 9284467 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 5129A607FD for ; Tue, 16 Aug 2016 19:50:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 405A228852 for ; Tue, 16 Aug 2016 19:50:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 329B9288A3; Tue, 16 Aug 2016 19:50:16 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 782E028852 for ; Tue, 16 Aug 2016 19:50:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752867AbcHPTuK (ORCPT ); Tue, 16 Aug 2016 15:50:10 -0400 Received: from mailrelay105.isp.belgacom.be ([195.238.20.132]:56846 "EHLO mailrelay105.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831AbcHPTuJ (ORCPT ); Tue, 16 Aug 2016 15:50:09 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BfBAAObbNX/0VLtVtegnBTVny3OoIPg?= =?us-ascii?q?X0chgGBWjkUAgEBAQEBAQFeJ0EMhG4jKXEkARKINbQCiw6GKohdhgsFmUGPGQK?= =?us-ascii?q?BaY1ahmWBbIdfHjaBQQGCOjoygXuDIYFFAQEB?= Received: from 69.75-181-91.adsl-dyn.isp.belgacom.be (HELO localhost.localdomain) ([91.181.75.69]) by relay.skynet.be with ESMTP; 16 Aug 2016 21:50:00 +0200 From: Fabian Frederick To: Matt Mackall , Herbert Xu Cc: linux-crypto@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org, fabf@skynet.be Subject: [PATCH V2 linux-next] hwrng: update Freescale i.MX RNGA Random Number Generator Date: Tue, 16 Aug 2016 21:49:45 +0200 Message-Id: <1471376985-7791-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.8.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We can directly depend on SOC_IMX31 since commit c9ee94965dce ("ARM: imx: deconstruct mxc_rnga initialization") Since that commit, CONFIG_HW_RANDOM_MXC_RNGA could not be switched on with unknown symbol ARCH_HAS_RNGA and mxc-rnga.o can't be generated with ARCH=arm make M=drivers/char/hw_random Previously, HW_RANDOM_MXC_RNGA required ARCH_HAS_RNGA which was based on IMX_HAVE_PLATFORM_MXC_RNGA && ARCH_MXC. IMX_HAVE_PLATFORM_MXC_RNGA was based on SOC_IMX31. Fixes: c9ee94965dce ("ARM: imx: deconstruct mxc_rnga initialization") Signed-off-by: Fabian Frederick Acked-by: Arnd Bergmann --- -Cc to linux-crypto (suggested by Herbert Xu) -Adding "Fixes:" (suggested by Arnd Bergmann) -This patch appeared in 4.8-rc1 (not in stable yet) -Improving patch description drivers/char/hw_random/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 56ad5a59..8c0770b 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -244,7 +244,7 @@ config HW_RANDOM_TX4939 config HW_RANDOM_MXC_RNGA tristate "Freescale i.MX RNGA Random Number Generator" - depends on ARCH_HAS_RNGA + depends on SOC_IMX31 default HW_RANDOM ---help--- This driver provides kernel-side support for the Random Number