diff options
-rw-r--r-- | arch/arm/mach-tegra/board-harmony.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-trimslice.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-tegra/common.c | 2 |
4 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c index b9dbdb1289d0..368ddff953fc 100644 --- a/arch/arm/mach-tegra/board-harmony.c +++ b/arch/arm/mach-tegra/board-harmony.c | |||
@@ -104,8 +104,6 @@ static __initdata struct tegra_clk_init_table harmony_clk_init_table[] = { | |||
104 | 104 | ||
105 | static void __init tegra_harmony_init(void) | 105 | static void __init tegra_harmony_init(void) |
106 | { | 106 | { |
107 | tegra_common_init(); | ||
108 | |||
109 | tegra_clk_init_from_table(harmony_clk_init_table); | 107 | tegra_clk_init_from_table(harmony_clk_init_table); |
110 | 108 | ||
111 | harmony_pinmux_init(); | 109 | harmony_pinmux_init(); |
@@ -116,8 +114,9 @@ static void __init tegra_harmony_init(void) | |||
116 | MACHINE_START(HARMONY, "harmony") | 114 | MACHINE_START(HARMONY, "harmony") |
117 | .boot_params = 0x00000100, | 115 | .boot_params = 0x00000100, |
118 | .fixup = tegra_harmony_fixup, | 116 | .fixup = tegra_harmony_fixup, |
119 | .init_irq = tegra_init_irq, | ||
120 | .init_machine = tegra_harmony_init, | ||
121 | .map_io = tegra_map_common_io, | 117 | .map_io = tegra_map_common_io, |
118 | .init_early = tegra_init_early, | ||
119 | .init_irq = tegra_init_irq, | ||
122 | .timer = &tegra_timer, | 120 | .timer = &tegra_timer, |
121 | .init_machine = tegra_harmony_init, | ||
123 | MACHINE_END | 122 | MACHINE_END |
diff --git a/arch/arm/mach-tegra/board-trimslice.c b/arch/arm/mach-tegra/board-trimslice.c index ef233b28022d..0f3081a97126 100644 --- a/arch/arm/mach-tegra/board-trimslice.c +++ b/arch/arm/mach-tegra/board-trimslice.c | |||
@@ -85,8 +85,6 @@ subsys_initcall(tegra_trimslice_pci_init); | |||
85 | 85 | ||
86 | static void __init tegra_trimslice_init(void) | 86 | static void __init tegra_trimslice_init(void) |
87 | { | 87 | { |
88 | tegra_common_init(); | ||
89 | |||
90 | tegra_clk_init_from_table(trimslice_clk_init_table); | 88 | tegra_clk_init_from_table(trimslice_clk_init_table); |
91 | 89 | ||
92 | trimslice_pinmux_init(); | 90 | trimslice_pinmux_init(); |
@@ -97,8 +95,9 @@ static void __init tegra_trimslice_init(void) | |||
97 | MACHINE_START(TRIMSLICE, "trimslice") | 95 | MACHINE_START(TRIMSLICE, "trimslice") |
98 | .boot_params = 0x00000100, | 96 | .boot_params = 0x00000100, |
99 | .fixup = tegra_trimslice_fixup, | 97 | .fixup = tegra_trimslice_fixup, |
100 | .init_irq = tegra_init_irq, | ||
101 | .init_machine = tegra_trimslice_init, | ||
102 | .map_io = tegra_map_common_io, | 98 | .map_io = tegra_map_common_io, |
99 | .init_early = tegra_init_early, | ||
100 | .init_irq = tegra_init_irq, | ||
103 | .timer = &tegra_timer, | 101 | .timer = &tegra_timer, |
102 | .init_machine = tegra_trimslice_init, | ||
104 | MACHINE_END | 103 | MACHINE_END |
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index b3f9c94fcb9e..1d14df7eb7de 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | void tegra_assert_system_reset(char mode, const char *cmd); | 26 | void tegra_assert_system_reset(char mode, const char *cmd); |
27 | 27 | ||
28 | void __init tegra_common_init(void); | 28 | void __init tegra_init_early(void); |
29 | void __init tegra_map_common_io(void); | 29 | void __init tegra_map_common_io(void); |
30 | void __init tegra_init_irq(void); | 30 | void __init tegra_init_irq(void); |
31 | void __init tegra_init_clock(void); | 31 | void __init tegra_init_clock(void); |
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 54826b805b91..14fa533b1e20 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c | |||
@@ -72,7 +72,7 @@ void __init tegra_init_cache(void) | |||
72 | 72 | ||
73 | } | 73 | } |
74 | 74 | ||
75 | void __init tegra_common_init(void) | 75 | void __init tegra_init_early(void) |
76 | { | 76 | { |
77 | tegra_init_fuse(); | 77 | tegra_init_fuse(); |
78 | tegra_init_clock(); | 78 | tegra_init_clock(); |