From ca45e700b1c57caca2ef08e665e3c7e3e02ac8d3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 29 Oct 2011 23:32:17 +0200 Subject: target config files: Fix whitespace issues. Drop useless double-space occurences, drop trailing whitespace, and fix some other minor whitespace-related issues. Change-Id: I6b4c515492e2ee94dc25ef1fe4f51015a4bba8b5 Signed-off-by: Uwe Hermann Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/137 Tested-by: jenkins --- tcl/target/imx.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tcl/target/imx.cfg') diff --git a/tcl/target/imx.cfg b/tcl/target/imx.cfg index 547ec56..9eea53e 100644 --- a/tcl/target/imx.cfg +++ b/tcl/target/imx.cfg @@ -1,6 +1,6 @@ # utility fn's for Freescale i.MX series -global TARGETNAME +global TARGETNAME set TARGETNAME $_TARGETNAME # rewrite commands of the form below to arm11 mcr... @@ -8,9 +8,9 @@ set TARGETNAME $_TARGETNAME proc setc15 {regs value} { global TARGETNAME - echo [format "set p15 0x%04x, 0x%08x" $regs $value] + echo [format "set p15 0x%04x, 0x%08x" $regs $value] - arm mcr 15 [expr ($regs>>12)&0x7] [expr ($regs>>0)&0xf] [expr ($regs>>4)&0xf] [expr ($regs>>8)&0x7] $value + arm mcr 15 [expr ($regs>>12)&0x7] [expr ($regs>>0)&0xf] [expr ($regs>>4)&0xf] [expr ($regs>>8)&0x7] $value } @@ -18,12 +18,12 @@ proc imx3x_reset {} { # this reset script comes from the Freescale PDK # # http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX35PDK - + echo "Target Setup: initialize DRAM controller and peripherals" - + # Data.Set c15:0x01 %long 0x00050078 setc15 0x01 0x00050078 - + echo "configuring CP15 for enabling the peripheral bus" # Data.Set c15:0x042f %long 0x40000015 setc15 0x042f 0x40000015 -- cgit v1.1