Message ID | 1471376985-7791-1-git-send-email-fabf@skynet.be (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
On Tuesday, August 16, 2016 9:49:45 PM CEST Fabian Frederick wrote: > 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 <fabf@skynet.be> > --- > -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 > Thanks for fixing my mistake! Acked-by: Arnd Bergmann <arnd@arndb.de> -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Aug 16, 2016 at 09:49:45PM +0200, Fabian Frederick wrote: > 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 <fabf@skynet.be> > --- > -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 Patch applied. Thanks.
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
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 <fabf@skynet.be> --- -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(-)