blob: bcf5dbf69d5891edde4df4f202b7c93cab9f24d7 [file] [log] [blame]
Erik Gillingc5f80062010-01-21 16:53:02 -08001/*
2 * arch/arm/mach-tegra/board.h
3 *
Olof Johanssond2ffb912013-02-09 17:45:28 -08004 * Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
Erik Gillingc5f80062010-01-21 16:53:02 -08005 * Copyright (C) 2010 Google, Inc.
6 *
7 * Author:
8 * Colin Cross <ccross@google.com>
9 * Erik Gilling <konkers@google.com>
10 *
11 * This software is licensed under the terms of the GNU General Public
12 * License version 2, as published by the Free Software Foundation, and
13 * may be copied, distributed, and modified under those terms.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 */
21
22#ifndef __MACH_TEGRA_BOARD_H
23#define __MACH_TEGRA_BOARD_H
24
25#include <linux/types.h>
Robin Holt7b6d8642013-07-08 16:01:40 -070026#include <linux/reboot.h>
Erik Gillingc5f80062010-01-21 16:53:02 -080027
Erik Gillingc5f80062010-01-21 16:53:02 -080028void __init tegra_map_common_io(void);
29void __init tegra_init_irq(void);
Shawn Guo390e0cf2012-05-02 17:08:06 +080030
Stephen Warrene4bcda22013-03-29 17:38:18 -060031int __init tegra_powergate_init(void);
Shawn Guo390e0cf2012-05-02 17:08:06 +080032#if defined(CONFIG_ARCH_TEGRA_2x_SOC) && defined(CONFIG_DEBUG_FS)
33int __init tegra_powergate_debugfs_init(void);
34#else
35static inline int tegra_powergate_debugfs_init(void) { return 0; }
36#endif
37
Stephen Warrenb64a02c2012-05-02 16:05:44 -060038void __init tegra_paz00_wifikill_init(void);
39
Erik Gillingc5f80062010-01-21 16:53:02 -080040#endif