aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/rsc-w910.cfg
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-04-26 01:07:27 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-05-09 14:38:40 +0100
commit5df5e89cf3caf02dc6f49a5d3c8aa8b1349a1dbf (patch)
tree14d9a553fd1d2d27c15f1b208569c5364e231493 /tcl/board/rsc-w910.cfg
parent6d3cb807aaa60c4a4cd8ed49ae7860097bc1b3ce (diff)
downloadriscv-openocd-5df5e89cf3caf02dc6f49a5d3c8aa8b1349a1dbf.zip
riscv-openocd-5df5e89cf3caf02dc6f49a5d3c8aa8b1349a1dbf.tar.gz
riscv-openocd-5df5e89cf3caf02dc6f49a5d3c8aa8b1349a1dbf.tar.bz2
tcl: remove trailing whitespace
The script checkpatch available in new Linux kernel offers an experimental feature for automatically fix the code in place. While still experimental, the feature works quite well for simple fixes, like spacing. This patch has been created automatically with the script under review for inclusion in OpenOCD, using the command: find tcl/ -type f -exec ./tools/scripts/checkpatch.pl \ -q --types TRAILING_WHITESPACE --fix-inplace -f {} \; The patch only changes amount and position of whitespace, thus the following commands show empty diff git diff -w git log -w -p git log -w --stat Change-Id: Ie7e3a236f4db9c70019e3b3c7e851edbd3a9dd84 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5616 Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Tested-by: jenkins
Diffstat (limited to 'tcl/board/rsc-w910.cfg')
-rw-r--r--tcl/board/rsc-w910.cfg10
1 files changed, 5 insertions, 5 deletions
diff --git a/tcl/board/rsc-w910.cfg b/tcl/board/rsc-w910.cfg
index cb1733b..574de0c 100644
--- a/tcl/board/rsc-w910.cfg
+++ b/tcl/board/rsc-w910.cfg
@@ -33,7 +33,7 @@ $_TARGETNAME configure -event reset-start {adapter speed 1000}
$_TARGETNAME configure -event reset-init {
# switch on PLL for 200MHz operation
# running from 15MHz input clock
-
+
mww 0xB0000200 0x00000030 ;# CLKEN
mww 0xB0000204 0x00000f3c ;# CLKSEL
mww 0xB0000208 0x05007000 ;# CLKDIV
@@ -41,17 +41,17 @@ $_TARGETNAME configure -event reset-init {
mww 0xB0000210 0x00002b63 ;# PLLCON1
mww 0xB000000C 0x08817fa6 ;# MFSEL
sleep 10
-
+
# we are now running @ 200MHz
# enable all openocd speed tweaks
-
+
arm7_9 dcc_downloads enable
arm7_9 fast_memory_access enable
adapter speed 15000
-
+
# map nor flash to 0x20000000
# map sdram to 0x00000000
-
+
mww 0xb0001000 0x000530c1 ;# EBICON
mww 0xb0001004 0x40030084 ;# ROMCON
mww 0xb0001008 0x000010ee ;# SDCONF0