diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-02-22 15:49:28 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-02-22 15:49:28 +0100 |
commit | 4f5728987f4f9f7845688482aa2b7f2127768165 (patch) | |
tree | e5ddb625e83ddaa8101528de0838f593f3fae318 /lib_arm | |
parent | 0cd18fa982f9a8c1a90ce971379a7d6408976d48 (diff) | |
download | u-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 'lib_arm')
-rw-r--r-- | lib_arm/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index f125d38..09eaaf2 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -145,6 +145,9 @@ void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off"))) * but let's get it working (again) first... */ +#if defined(CONFIG_ARM_DCC) && !defined(CONFIG_BAUDRATE) +#define CONFIG_BAUDRATE 115200 +#endif static int init_baudrate (void) { char tmp[64]; /* long enough for environment variables */ |