Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: arch/arm/mach-tegra/board-ventana.c

Issue 4120008: CHROMIUM: ARM: Tegra: Clean up 3D clock init WAR. (Closed) Base URL: http://git.chromium.org/git/kernel-next.git
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « arch/arm/mach-tegra/board-seaboard.c ('k') | arch/arm/mach-tegra/common.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * arch/arm/mach-tegra/board-ventana.c 2 * arch/arm/mach-tegra/board-ventana.c
3 * 3 *
4 * Copyright (c) 2010, NVIDIA Corporation. 4 * Copyright (c) 2010, NVIDIA Corporation.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or 8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version. 9 * (at your option) any later version.
10 * 10 *
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 ctrl_reg = readl(pmc + PMC_CTRL); 227 ctrl_reg = readl(pmc + PMC_CTRL);
228 ctrl_reg |= PMC_CTRL_BLINK_EN; 228 ctrl_reg |= PMC_CTRL_BLINK_EN;
229 writel(ctrl_reg, pmc + PMC_CTRL); 229 writel(ctrl_reg, pmc + PMC_CTRL);
230 } 230 }
231 231
232 232
233 233
234 static void __init tegra_ventana_init(void) 234 static void __init tegra_ventana_init(void)
235 { 235 {
236 » tegra_common_init(); 236 » tegra_common_init(ventana_clk_init_table);
237
238 » tegra_clk_init_from_table(ventana_clk_init_table);
239 ventana_pinmux_init(); 237 ventana_pinmux_init();
240
241 platform_add_devices(ventana_devices, ARRAY_SIZE(ventana_devices)); 238 platform_add_devices(ventana_devices, ARRAY_SIZE(ventana_devices));
242 ventana_sdhci_init(); 239 ventana_sdhci_init();
243 ventana_i2c_init(); 240 ventana_i2c_init();
244 ventana_regulator_init(); 241 ventana_regulator_init();
245 ventana_touch_init(); 242 ventana_touch_init();
246 ventana_keys_init(); 243 ventana_keys_init();
247 ventana_wlan_init(); 244 ventana_wlan_init();
248 } 245 }
249 246
250 MACHINE_START(VENTANA, "ventana") 247 MACHINE_START(VENTANA, "ventana")
251 .boot_params = 0x00000100, 248 .boot_params = 0x00000100,
252 .phys_io = IO_APB_PHYS, 249 .phys_io = IO_APB_PHYS,
253 .io_pg_offst = ((IO_APB_VIRT) >> 18) & 0xfffc, 250 .io_pg_offst = ((IO_APB_VIRT) >> 18) & 0xfffc,
254 .init_irq = tegra_init_irq, 251 .init_irq = tegra_init_irq,
255 .init_machine = tegra_ventana_init, 252 .init_machine = tegra_ventana_init,
256 .map_io = tegra_map_common_io, 253 .map_io = tegra_map_common_io,
257 .timer = &tegra_timer, 254 .timer = &tegra_timer,
258 MACHINE_END 255 MACHINE_END
OLDNEW
« no previous file with comments | « arch/arm/mach-tegra/board-seaboard.c ('k') | arch/arm/mach-tegra/common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698