9
0
Fork 0

ARM i.MX35: Add IIM support

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

View File

@ -16,6 +16,7 @@
*/
#include <common.h>
#include <sizes.h>
#include <init.h>
#include <asm/io.h>
#include <mach/imx-regs.h>
@ -58,3 +59,12 @@ static int imx35_l2_fix(void)
return 0;
}
core_initcall(imx35_l2_fix);
static int imx35_init(void)
{
add_generic_device("imx_iim", 0, NULL, IMX_IIM_BASE, SZ_4K,
IORESOURCE_MEM, NULL);
return 0;
}
coredevice_initcall(imx35_init);