summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include/mach/imx-regs.h
blob: 39c97b77055a0e9d8a960ba2474a726d7f1ffc2a (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
/*
 * (C) Copyright 2010 Juergen Beisert - Pengutronix
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * 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 _IMX_REGS_H
# define _IMX_REGS_H

/* Note: Some registers do not support this bit change feature! */
#define BIT_SET 0x04
#define BIT_CLR 0x08
#define BIT_TGL 0x0C

#if defined CONFIG_ARCH_IMX23
# include <mach/imx23-regs.h>
#endif

#if defined CONFIG_ARCH_IMX28
# include <mach/imx28-regs.h>
#endif

#endif /* _IMX_REGS_H */