From: Øyvind H. <go...@us...> - 2010-06-15 07:40:33
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via bf3410fcc711f6601f1f8eb39c5df57cf8cfe535 (commit) from 3e51d893ed3d1273b5487e05196f00fe3d14773d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit bf3410fcc711f6601f1f8eb39c5df57cf8cfe535 Author: michal smulski <mic...@oo...> Date: Mon Jun 14 15:13:09 2010 -0700 arm1136 scripts Here is a patch to fix a startup in C100 (arm1136). Basically make sure that UART is configured before using it. Michal Signed-off-by: Ãyvind Harboe <oyv...@zy...> diff --git a/tcl/target/c100helper.tcl b/tcl/target/c100helper.tcl index 477fe5c..2a12c36 100644 --- a/tcl/target/c100helper.tcl +++ b/tcl/target/c100helper.tcl @@ -469,11 +469,12 @@ proc initC100 {} { mww $INTC_ARM1_CONTROL_REG 0x1 # configure clocks setupPLL + # setupUART0 must be run before setupDDR2 as setupDDR2 uses UART. + setupUART0 # enable cache # ? (u-boot does nothing here) # DDR2 memory init setupDDR2 - setupUART0 putsUART0 "C100 initialization complete.\n" puts "C100 initialization complete." } ----------------------------------------------------------------------- Summary of changes: tcl/target/c100helper.tcl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Main OpenOCD repository |