aboutsummaryrefslogtreecommitdiff
path: root/tcl/chip
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2011-11-18 13:09:14 +0800
committerSpencer Oliver <spen@spen-soft.co.uk>2011-11-21 22:09:09 +0000
commitc8f4d82b45647d6db3af122bcd7aabe4670c61b0 (patch)
treeb264bc1ea153e8867db083b644274aa858aa6428 /tcl/chip
parent56e64812b837fc6c66a7e4c8033ec4329a0234e5 (diff)
downloadriscv-openocd-c8f4d82b45647d6db3af122bcd7aabe4670c61b0.zip
riscv-openocd-c8f4d82b45647d6db3af122bcd7aabe4670c61b0.tar.gz
riscv-openocd-c8f4d82b45647d6db3af122bcd7aabe4670c61b0.tar.bz2
TCL: Add board file for EVALSPEAr300
Initial support for SPEAr300 chip and for evaluation board named EVALSPEAr300. Currently supports only those parts in common with SPEAr310. Change-Id: I8075aa721cf3dfaac561ee51e5df4ce9a2992e3e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/230 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.tcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/tcl/chip/st/spear/spear3xx.tcl b/tcl/chip/st/spear/spear3xx.tcl
index 17ab228..ce9e0ca 100644
--- a/tcl/chip/st/spear/spear3xx.tcl
+++ b/tcl/chip/st/spear/spear3xx.tcl
@@ -80,7 +80,13 @@ proc sp3xx_common_init {} {
}
-# Specific init scripts for ST SPEAr310 system on chip
+# Specific init scripts for ST SPEAr300
+proc sp300_init {} {
+ mww 0x99000000 0x00003fff ;# RAS function enable
+}
+
+
+# Specific init scripts for ST SPEAr310
proc sp310_init {} {
mww 0xb4000008 0x00002ff4 ;# RAS function enable