On 6/20/2020 12:49 AM, Fabio Estevam wrote: > On Fri, Jun 19, 2020 at 6:46 PM Fabio Estevam <feste...@gmail.com> 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 ;-) > Probably ARCH_MXC.
ARCH_MXC was originally the dependency for this driver, until it was changed to a more specific one by commit fcdba3c33a4d ("hwrng: imx-rngc - improve dependencies") I don't think we'll see too many RNGB deployments in the future, thus the list of SoCs shouldn't change that often. Horia