]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm: tegra: vcm30t124: Temporarily support vcm30_t124 machine
authorVipin Kumar <vipink@nvidia.com>
Wed, 16 Jul 2014 11:53:05 +0000 (17:23 +0530)
committerSandeep Trasi <strasi@nvidia.com>
Thu, 31 Jul 2014 14:01:39 +0000 (07:01 -0700)
This is a temporary commit which would be reverted as soon as vcm30t124
machine is not required by any of the non-kernel sw modules

bug 1527003

Change-Id: I2275721b595526e2addafdee50540c89c27ef781
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/449111
Reviewed-by: Phoenix Jung <pjung@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
arch/arm/mach-tegra/board-p1859.c

index 91facd72197e54341906a5acfaefe6c6ce578771..f4cd47c40b7a5e514d48591e6fb8c4cc6dfd1fda 100644 (file)
@@ -260,3 +260,22 @@ DT_MACHINE_START(P1859, "p1859")
        .dt_compat      = p1859_dt_board_compat,
        .init_late      = tegra_init_late
 MACHINE_END
+
+static const char * const vcm30t124_dt_board_compat[] = {
+       "nvidia,vcm30t124",
+       NULL
+};
+
+DT_MACHINE_START(VCM30T124, "vcm30t124")
+       .atag_offset    = 0x100,
+       .smp            = smp_ops(tegra_smp_ops),
+       .map_io         = tegra_map_common_io,
+       .reserve        = tegra_vcm30_t124_reserve,
+       .init_early     = tegra12x_init_early,
+       .init_irq       = irqchip_init,
+       .init_time      = clocksource_of_init,
+       .init_machine   = tegra_p1859_dt_init,
+       .restart        = tegra_assert_system_reset,
+       .dt_compat      = vcm30t124_dt_board_compat,
+       .init_late      = tegra_init_late
+MACHINE_END