mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 20:51:47 +00:00
0cf6230af9
Move tegra_common_init to tegra_init_early, and set it as the init_early entry in the machine struct. Initializes the clocks earlier so that timers can enable their clocks. Also reorders the members in the Harmony and Trimslice boards' machine structs to match the order they are called in. Signed-off-by: Colin Cross <ccross@android.com> Acked-by: Olof Johansson <olof@lixom.net>
36 lines
1022 B
C
36 lines
1022 B
C
/*
|
|
* arch/arm/mach-tegra/board.h
|
|
*
|
|
* Copyright (C) 2010 Google, Inc.
|
|
*
|
|
* Author:
|
|
* Colin Cross <ccross@google.com>
|
|
* Erik Gilling <konkers@google.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __MACH_TEGRA_BOARD_H
|
|
#define __MACH_TEGRA_BOARD_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
void tegra_assert_system_reset(char mode, const char *cmd);
|
|
|
|
void __init tegra_init_early(void);
|
|
void __init tegra_map_common_io(void);
|
|
void __init tegra_init_irq(void);
|
|
void __init tegra_init_clock(void);
|
|
int __init tegra_pcie_init(bool init_port0, bool init_port1);
|
|
|
|
extern struct sys_timer tegra_timer;
|
|
#endif
|