18 Jul
2013
18 Jul
'13
11:58 a.m.
On Wed, Jul 17, 2013 at 04:52:42PM -0600, Stephen Warren wrote:
The key to enable tegra30_i2s.c should really be ARCH_TEGRA_3x_SOC || ARCH_TEGRA_114_SOC, which gets a bit unwieldy once you have, say, 4 different SoCs in that list and a similar list starts to apply to a lot of different HW-modules/drivers. Even creating an ARCH_TEGRA_30_OR_LATER_SOC will get problematic, since defining "or later" will likely become progressively more complex over time, as we start putting our more SoCs. What are your thoughts on the best way to solve that?
Can't you just say Tegra 20 or later is Tegra 20 plus Tegra 30 or later and so on?