diff options
author | Terry Lv <r65388@freescale.com> | 2011-05-12 19:29:06 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-05-20 13:29:51 +0800 |
commit | b495365cdba6f1ddf762e67f2bb4b6693c1f24d2 (patch) | |
tree | cacd7c8395ea754cba2cc17dfbacead85826fe59 /cpu/arm_cortexa8/mx51 | |
parent | ecea7efd8a1683f68ad56ac420987a44dbae5c4d (diff) | |
download | u-boot-imx-b495365cdba6f1ddf762e67f2bb4b6693c1f24d2.zip u-boot-imx-b495365cdba6f1ddf762e67f2bb4b6693c1f24d2.tar.gz u-boot-imx-b495365cdba6f1ddf762e67f2bb4b6693c1f24d2.tar.bz2 |
ENGR00143298: Reinit uart after using clk command
For clk command always make console output mess characters,
here we reinitilize it after clock is changed.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'cpu/arm_cortexa8/mx51')
-rw-r--r-- | cpu/arm_cortexa8/mx51/generic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/mx51/generic.c b/cpu/arm_cortexa8/mx51/generic.c index 2a1c430..b116922 100644 --- a/cpu/arm_cortexa8/mx51/generic.c +++ b/cpu/arm_cortexa8/mx51/generic.c @@ -956,6 +956,9 @@ int clk_config(u32 ref, u32 freq, u32 clk_type) printf("Unsupported or invalid clock type! :(\n"); } + serial_init(); + printf("Serial reinitilized!\n"); + return 0; } #endif |