[PATCH 2/5] dma i.MX: remove individual SOC dependency
Michał Mirosław
mirqus at gmail.com
Tue Nov 8 15:42:56 EST 2011
2011/8/24 Sascha Hauer <s.hauer at pengutronix.de>:
> The individual SoC dependency in Kconfig hardly scales anymore.
> Instead of having such a fine grained dependency just depend
> on ARCH_MXC and risk that the uninformed user has to look in
> the help text to figure out which driver is the correct one.
[...]
> config MX3_IPU
> bool "MX3x Image Processing Unit support"
> - depends on ARCH_MX3
> + depends on ARCH_MXC
> select DMA_ENGINE
> default y
> help
You could instead make it depend on HAVE_MX3_IPU and select this
symbol from relevant model config. Leaving it for the users is making
every one of them redo the work you already did.
Best Regards,
Michał Mirosław
More information about the linux-arm-kernel
mailing list