2010-10-11 08:58:47 +00:00
|
|
|
/*
|
|
|
|
* (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
|
|
|
|
|
2010-12-13 10:53:31 +00:00
|
|
|
/* Note: Some registers do not support this bit change feature! */
|
|
|
|
#define BIT_SET 0x04
|
|
|
|
#define BIT_CLR 0x08
|
|
|
|
#define BIT_TGL 0x0C
|
|
|
|
|
2010-10-11 08:58:47 +00:00
|
|
|
#if defined CONFIG_ARCH_IMX23
|
|
|
|
# include <mach/imx23-regs.h>
|
|
|
|
#endif
|
|
|
|
|
2010-12-13 10:53:31 +00:00
|
|
|
#if defined CONFIG_ARCH_IMX28
|
|
|
|
# include <mach/imx28-regs.h>
|
|
|
|
#endif
|
|
|
|
|
2010-10-11 08:58:47 +00:00
|
|
|
#endif /* _IMX_REGS_H */
|