summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include/mach/mxc_scc.h
blob: b803d1683fb41418919e770e2abc1c51cbe88b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
 */

/*
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

/*!
 * @file arch-mxc/mxc_scc.h
 *
 * @brief This is intended to be the file which contains all of code or changes
 * needed to port the driver.
 *
 * @ingroup MXCSCC
 */

#ifndef __ASM_ARCH_MXC_SCC_H__
#define __ASM_ARCH_MXC_SCC_H__

#include <mach/hardware.h>

/*!
 * Expected to come from platform header files.
 * This symbol must be the address of the SCC
 */
#define SCC_BASE        SCC_BASE_ADDR

/*!
 *  This must be the interrupt line number of the SCM interrupt.
 */
#define INT_SCC_SCM         MXC_INT_SCC_SCM

/*!
 *  if #USE_SMN_INTERRUPT is defined, this must be the interrupt line number of
 *  the SMN interrupt.
 */
#define INT_SCC_SMN         MXC_INT_SCC_SMN

#endif