Re: [PATCH V2 linux-next] hwrng: update Freescale i.MX RNGA Random Number Generator

From: Arnd Bergmann
Date: Tue Aug 23 2016 - 08:28:46 EST


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@xxxxxxxxx>
> ---
> -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@xxxxxxxx>