aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/lpc2294.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/target/lpc2294.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/target/lpc2294.cfg')
-rw-r--r--tcl/target/lpc2294.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/lpc2294.cfg b/tcl/target/lpc2294.cfg
index 83d595d..1320cda 100644
--- a/tcl/target/lpc2294.cfg
+++ b/tcl/target/lpc2294.cfg
@@ -9,7 +9,7 @@ source [find target/lpc2xxx.cfg]
proc setup_lpc2294 {core_freq_khz adapter_freq_khz} {
# 256kB flash and 16kB SRAM
# setup_lpc2xxx <chip_name> <cputapid> <flash_size> <flash_variant> <workarea_size> <core_freq_khz> <adapter_freq_khz>
-
+
# !! TAPID unknown !!
setup_lpc2xxx lpc2294 0xffffffff 0x40000 lpc2000_v1 0x4000 $core_freq_khz $adapter_freq_khz
}
@@ -17,7 +17,7 @@ proc setup_lpc2294 {core_freq_khz adapter_freq_khz} {
proc init_targets {} {
# default to core clocked with 12MHz crystal
echo "Warning - assuming default core clock 12MHz! Flashing may fail if actual core clock is different."
-
+
# setup_lpc2294 <core_freq_khz> <adapter_freq_khz>
setup_lpc2294 12000 1500
}