2010-01-22 07:53:02 +07:00
|
|
|
/*
|
|
|
|
* arch/arm/mach-tegra/board.h
|
|
|
|
*
|
2013-02-10 08:45:28 +07:00
|
|
|
* Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
|
2010-01-22 07:53:02 +07:00
|
|
|
* 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>
|
2013-07-09 06:01:40 +07:00
|
|
|
#include <linux/reboot.h>
|
2010-01-22 07:53:02 +07:00
|
|
|
|
|
|
|
void __init tegra_map_common_io(void);
|
|
|
|
void __init tegra_init_irq(void);
|
2012-05-02 16:08:06 +07:00
|
|
|
|
2013-03-30 06:38:18 +07:00
|
|
|
int __init tegra_powergate_init(void);
|
2012-05-02 16:08:06 +07:00
|
|
|
#if defined(CONFIG_ARCH_TEGRA_2x_SOC) && defined(CONFIG_DEBUG_FS)
|
|
|
|
int __init tegra_powergate_debugfs_init(void);
|
|
|
|
#else
|
|
|
|
static inline int tegra_powergate_debugfs_init(void) { return 0; }
|
|
|
|
#endif
|
|
|
|
|
2012-05-03 05:05:44 +07:00
|
|
|
void __init tegra_paz00_wifikill_init(void);
|
|
|
|
|
2010-01-22 07:53:02 +07:00
|
|
|
#endif
|