summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2013-04-23 10:17:41 +0000
committerStefano Babic <sbabic@denx.de>2013-04-28 11:07:41 +0200
commit0f67e09e9ef354ae2d282091adb3dc531f2aef7d (patch)
treebe4890247e2b63d086b8778fc35bfd4805e9a633 /arch/powerpc
parentccca7dfd0273af41e5b4bdec7f8731b177a20fde (diff)
downloadu-boot-imx-0f67e09e9ef354ae2d282091adb3dc531f2aef7d.zip
u-boot-imx-0f67e09e9ef354ae2d282091adb3dc531f2aef7d.tar.gz
u-boot-imx-0f67e09e9ef354ae2d282091adb3dc531f2aef7d.tar.bz2
Add fsl_iim driver
Add a fsl_iim driver common to i.MX and MPC. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/immap_512x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/immap_512x.h b/arch/powerpc/include/asm/immap_512x.h
index d96e536..8248219 100644
--- a/arch/powerpc/include/asm/immap_512x.h
+++ b/arch/powerpc/include/asm/immap_512x.h
@@ -1272,4 +1272,6 @@ static inline u32 get_pata_base (void)
#define CONFIG_SYS_MPC512x_USB_ADDR \
(CONFIG_SYS_IMMR + CONFIG_SYS_MPC512x_USB_OFFSET)
+#define IIM_BASE_ADDR (CONFIG_SYS_IMMR + offsetof(immap_t, iim))
+
#endif /* __IMMAP_512x__ */