summaryrefslogtreecommitdiff
path: root/common/devices.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-02-22 15:49:28 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-02-22 15:49:28 +0100
commit4f5728987f4f9f7845688482aa2b7f2127768165 (patch)
treee5ddb625e83ddaa8101528de0838f593f3fae318 /common/devices.c
parent0cd18fa982f9a8c1a90ce971379a7d6408976d48 (diff)
downloadu-boot-imx-4f5728987f4f9f7845688482aa2b7f2127768165.zip
u-boot-imx-4f5728987f4f9f7845688482aa2b7f2127768165.tar.gz
u-boot-imx-4f5728987f4f9f7845688482aa2b7f2127768165.tar.bz2
arm: add uart dcc support
Serial driver via the EmbeddedICE macrocell's DCC channel using co-processor 14. It does include a timeout to ensure that the system does not totally freeze when there is nothing connected to read. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/devices.c')
-rw-r--r--common/devices.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/devices.c b/common/devices.c
index 38f1bbc..ba53c9b 100644
--- a/common/devices.c
+++ b/common/devices.c
@@ -215,6 +215,9 @@ int devices_init (void)
/* Initialize the list */
INIT_LIST_HEAD(&(devs.list));
+#ifdef CONFIG_ARM_DCC_MULTI
+ drv_arm_dcc_init ();
+#endif
#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)
i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
#endif