-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter De Schrijver
authored and
Olof Johansson
committed
Feb 6, 2012
1 parent
ff3e69c
commit 905f949
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: f7223d3d1ba0e49423d0d5f7f60723b0cb42e621 | ||
refs/heads/master: 364c7c3f99c7ab79f6134ff0c55251d7ef77db8f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* arch/arm/mach-tegra/flowctrl.h | ||
* | ||
* functions and macros to control the flowcontroller | ||
* | ||
* Copyright (c) 2010-2012, NVIDIA Corporation. All rights reserved. | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms and conditions of the GNU General Public License, | ||
* version 2, as published by the Free Software Foundation. | ||
* | ||
* 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. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#ifndef __MACH_TEGRA_FLOWCTRL_H | ||
#define __MACH_TEGRA_FLOWCTRL_H | ||
|
||
#define FLOW_CTRL_HALT_CPU0_EVENTS 0x0 | ||
#define FLOW_CTRL_WAITEVENT (2 << 29) | ||
#define FLOW_CTRL_WAIT_FOR_INTERRUPT (4 << 29) | ||
#define FLOW_CTRL_JTAG_RESUME (1 << 28) | ||
#define FLOW_CTRL_HALT_CPU_IRQ (1 << 10) | ||
#define FLOW_CTRL_HALT_CPU_FIQ (1 << 8) | ||
#define FLOW_CTRL_CPU0_CSR 0x8 | ||
#define FLOW_CTRL_CSR_INTR_FLAG (1 << 15) | ||
#define FLOW_CTRL_CSR_EVENT_FLAG (1 << 14) | ||
#define FLOW_CTRL_CSR_ENABLE (1 << 0) | ||
#define FLOW_CTRL_HALT_CPU1_EVENTS 0x14 | ||
#define FLOW_CTRL_CPU1_CSR 0x18 | ||
|
||
#endif |