summaryrefslogtreecommitdiff
path: root/common/soft_i2c.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-11-21 00:06:33 +0000
committerwdenk <wdenk>2004-11-21 00:06:33 +0000
commit9d5028c2f7a65d3777867a6cfc966a01a5823132 (patch)
treec971cc2b0d41e422585c1911fffda7d2d6403ee4 /common/soft_i2c.c
parentcacfab588a897c369a4906818c5ed4bc40a450c5 (diff)
downloadu-boot-imx-9d5028c2f7a65d3777867a6cfc966a01a5823132.zip
u-boot-imx-9d5028c2f7a65d3777867a6cfc966a01a5823132.tar.gz
u-boot-imx-9d5028c2f7a65d3777867a6cfc966a01a5823132.tar.bz2
* Update for AT91RM9200DK and CMC_PU2 boards:
- Enable booting directly from flash - fix CMC_PU2 flash driver * Fix mkimage usage message
Diffstat (limited to 'common/soft_i2c.c')
-rw-r--r--common/soft_i2c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/soft_i2c.c b/common/soft_i2c.c
index 9a10b31..f7ca498 100644
--- a/common/soft_i2c.c
+++ b/common/soft_i2c.c
@@ -29,6 +29,10 @@
#ifdef CONFIG_MPC8260 /* only valid for MPC8260 */
#include <ioports.h>
#endif
+#ifdef CONFIG_AT91RM9200DK /* need this for the at91rm9200dk */
+#include <asm/io.h>
+#include <asm/arch/hardware.h>
+#endif
#include <i2c.h>
#if defined(CONFIG_SOFT_I2C)