This is an automated email from Gerrit.

Antonio Borneo (borneo.anto...@gmail.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/225

-- gerrit

commit ad83d04465927e230ffde867d9997ac15d28c1a5
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Fri Jan 21 12:53:19 2011 +0800

    TCL/SPEAr: move device specific code
    
    The initialization of memory port 1 is required by
    SPEAr310 only
    
    Change-Id: I9d655da1026795f02ff2f82aed36441068cf266d
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/tcl/chip/st/spear/spear310.tcl b/tcl/chip/st/spear/spear310.tcl
index 95df51d..3aaa10d 100644
--- a/tcl/chip/st/spear/spear310.tcl
+++ b/tcl/chip/st/spear/spear310.tcl
@@ -10,6 +10,8 @@ proc sp310_init {} {
        mww 0xfca80040 0x00000000       ;# remove all RAS resets
        mww 0xb4000008 0x00002ff4       ;# RAS function enable
 
+       mww 0xfca80050 0x00000001       ;# Enable clk mem port 1
+
        mww 0xfca8013c 0x2f7bc210       ;# plgpio_pad_drv
        mww 0xfca80140 0x017bdef6
 }
diff --git a/tcl/chip/st/spear/spear3xx.tcl b/tcl/chip/st/spear/spear3xx.tcl
index 660dab3..4c6f436 100644
--- a/tcl/chip/st/spear/spear3xx.tcl
+++ b/tcl/chip/st/spear/spear3xx.tcl
@@ -60,8 +60,6 @@ proc sp3xx_common_init {} {
        mww 0xfca800e4 0x78000008       ;# COMP1V8_REG
        mww 0xfca800ec 0x78000008       ;# COMP3V3_REG
 
-       mww 0xfca80050 0x00000001       ;# Enable clk mem port 1
-
        mww 0xfc000000 0x10000f5f       ;# init SMI and set HW mode
        mww 0xfc000000 0x00000f5f
 

-- 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to