Re: [PATCH 9/9] ARM: tegra: Add initial support for Tegra 114 SoC.

From: Arnd Bergmann
Date: Thu Jan 03 2013 - 11:32:22 EST


On Thursday 20 December 2012, Hiroshi Doyu wrote:
> +
> +DT_MACHINE_START(TEGRA114_DT, "NVIDIA Tegra114 (Flattened Device Tree)")
> + .smp = smp_ops(tegra_smp_ops),
> + .map_io = tegra_map_common_io,
> + .init_early = tegra30_init_early,
> + .init_irq = tegra_dt_init_irq,
> + .handle_irq = gic_handle_irq,
> + .init_time = clocksource_of_init,
> + .init_machine = tegra114_dt_init,
> + .init_late = tegra_init_late,
> + .restart = tegra_assert_system_reset,
> + .dt_compat = tegra114_dt_board_compat,
> +MACHINE_END

This one is so similar to Tegra30 that I wonder if it's actually worth keeping
them separate still. The only difference I see is the clock initialization.
Maybe that can be factored out to keep this the same as Tegra30.

Or are you planning to add more SoC specific here that would make this harder?

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/