diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2011-11-18 13:10:00 +0800 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2011-11-21 22:09:47 +0000 |
commit | 3291edf1e72da7914f77d913a864e6416c16132d (patch) | |
tree | 0979593fd66e88c07035467458de814ccfd387a9 /tcl/chip | |
parent | c8f4d82b45647d6db3af122bcd7aabe4670c61b0 (diff) | |
download | riscv-openocd-3291edf1e72da7914f77d913a864e6416c16132d.zip riscv-openocd-3291edf1e72da7914f77d913a864e6416c16132d.tar.gz riscv-openocd-3291edf1e72da7914f77d913a864e6416c16132d.tar.bz2 |
TCL: Add board file for EVAL_SPEAr320CPU
Initial support for SPEAr320 chip and for evaluation
board named EVAL_SPEAr320CPU.
Change-Id: I85524655769bcc610294a26db47a7a399256fbb7
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/231
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/chip')
-rw-r--r-- | tcl/chip/st/spear/spear3xx.tcl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tcl/chip/st/spear/spear3xx.tcl b/tcl/chip/st/spear/spear3xx.tcl index ce9e0ca..ef38841 100644 --- a/tcl/chip/st/spear/spear3xx.tcl +++ b/tcl/chip/st/spear/spear3xx.tcl @@ -120,3 +120,10 @@ proc sp310_emi_init {} { mww 0x4f000014 0x0000000e ;# control_0_reg mww 0x4f000094 0x0000003f ;# ack_reg } + + +# Specific init scripts for ST SPEAr320 +proc sp320_init {} { + mww 0xb300000c 0xffffac04 ;# RAS function enable + mww 0xb3000010 0x00000001 ;# RAS mode select +} |