Re: [PATCH 4/4] hwrng: imx-rngc: enable driver for i.MX6

2020-06-21 Thread Horia Geantă
On 6/20/2020 12:49 AM, Fabio Estevam wrote: > On Fri, Jun 19, 2020 at 6:46 PM Fabio Estevam wrote: > >> If in the future more SoCs will use this IP, then we will need to keep >> extending this list over and over again. >> >> Maybe you could use: >> >> depends on MACH_IMX || COMPILE_TEST > >

Re: [PATCH 4/4] hwrng: imx-rngc: enable driver for i.MX6

2020-06-19 Thread Fabio Estevam
On Fri, Jun 19, 2020 at 6:46 PM Fabio Estevam wrote: > If in the future more SoCs will use this IP, then we will need to keep > extending this list over and over again. > > Maybe you could use: > > depends on MACH_IMX || COMPILE_TEST MACH_MXC is what I meant ;-)

Re: [PATCH 4/4] hwrng: imx-rngc: enable driver for i.MX6

2020-06-19 Thread Fabio Estevam
On Fri, Jun 19, 2020 at 6:34 PM Horia Geantă wrote: > > i.MX6 SL, SLL, ULL, ULZ SoCs have an RNGB block. > > Since imx-rngc driver supports also rngb, > let's enable it for these SoCs too. > > Signed-off-by: Horia Geantă > --- > drivers/char/hw_random/Kconfig | 2 +- > 1 file changed, 1

[PATCH 4/4] hwrng: imx-rngc: enable driver for i.MX6

2020-06-19 Thread Horia Geantă
i.MX6 SL, SLL, ULL, ULZ SoCs have an RNGB block. Since imx-rngc driver supports also rngb, let's enable it for these SoCs too. Signed-off-by: Horia Geantă --- drivers/char/hw_random/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/Kconfig