9
0
Fork 0

ARM i.MX31: Add IIM support

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-07-27 12:37:16 +02:00
parent afa4bff41f
commit b42dca2df0
1 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,9 @@
*/
#include <common.h>
#include <init.h>
#include <sizes.h>
#include <mach/imx-regs.h>
#include "gpio.h"
@ -27,3 +30,11 @@ void *imx_gpio_base[] = {
int imx_gpio_count = ARRAY_SIZE(imx_gpio_base) * 32;
static int imx31_init(void)
{
add_generic_device("imx_iim", 0, NULL, IMX_IIM_BASE, SZ_4K,
IORESOURCE_MEM, NULL);
return 0;
}
coredevice_initcall(imx31_init);