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 <uwe@hermann-uwe.de> Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/137 Tested-by: jenkins
This commit is contained in:
committed by
Spencer Oliver
parent
17b546a900
commit
ca45e700b1
@@ -1,19 +1,19 @@
|
||||
#xscale ixp42x CPU
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set _CHIPNAME ixp42x
|
||||
set _CHIPNAME ixp42x
|
||||
}
|
||||
|
||||
if { [info exists ENDIAN] } {
|
||||
set _ENDIAN $ENDIAN
|
||||
set _ENDIAN $ENDIAN
|
||||
} else {
|
||||
# this defaults to a bigendian
|
||||
set _ENDIAN big
|
||||
set _ENDIAN big
|
||||
}
|
||||
|
||||
if { [info exists CPUTAPID ] } {
|
||||
if { [info exists CPUTAPID] } {
|
||||
set _CPUTAPID $CPUTAPID
|
||||
} else {
|
||||
set _CPUTAPID 0x19274013
|
||||
@@ -36,21 +36,21 @@ global IXP425_SDRAM_IR_MODE_SET_CAS3_CMD
|
||||
set IXP425_SDRAM_IR_MODE_SET_CAS2_CMD 0x0000
|
||||
set IXP425_SDRAM_IR_MODE_SET_CAS3_CMD 0x0001
|
||||
|
||||
global IXP42x_SDRAM_CL3
|
||||
global IXP42x_SDRAM_CL2
|
||||
global IXP42x_SDRAM_CL3
|
||||
global IXP42x_SDRAM_CL2
|
||||
set IXP42x_SDRAM_CL3 0x0008
|
||||
set IXP42x_SDRAM_CL2 0x0000
|
||||
|
||||
global IXP42x_SDRAM_8MB_2Mx32_1BANK
|
||||
global IXP42x_SDRAM_16MB_2Mx32_2BANK
|
||||
global IXP42x_SDRAM_16MB_4Mx16_1BANK
|
||||
global IXP42x_SDRAM_32MB_4Mx16_2BANK
|
||||
global IXP42x_SDRAM_32MB_8Mx16_1BANK
|
||||
global IXP42x_SDRAM_64MB_8Mx16_2BANK
|
||||
global IXP42x_SDRAM_64MB_16Mx16_1BANK
|
||||
global IXP42x_SDRAM_128MB_16Mx16_2BANK
|
||||
global IXP42x_SDRAM_128MB_32Mx16_1BANK
|
||||
global IXP42x_SDRAM_256MB_32Mx16_2BANK
|
||||
global IXP42x_SDRAM_8MB_2Mx32_1BANK
|
||||
global IXP42x_SDRAM_16MB_2Mx32_2BANK
|
||||
global IXP42x_SDRAM_16MB_4Mx16_1BANK
|
||||
global IXP42x_SDRAM_32MB_4Mx16_2BANK
|
||||
global IXP42x_SDRAM_32MB_8Mx16_1BANK
|
||||
global IXP42x_SDRAM_64MB_8Mx16_2BANK
|
||||
global IXP42x_SDRAM_64MB_16Mx16_1BANK
|
||||
global IXP42x_SDRAM_128MB_16Mx16_2BANK
|
||||
global IXP42x_SDRAM_128MB_32Mx16_1BANK
|
||||
global IXP42x_SDRAM_256MB_32Mx16_2BANK
|
||||
|
||||
set IXP42x_SDRAM_8MB_2Mx32_1BANK 0x0030
|
||||
set IXP42x_SDRAM_16MB_2Mx32_2BANK 0x0031
|
||||
@@ -71,13 +71,13 @@ set IXP42x_SDRAM_256MB_32Mx16_2BANK 0x0015
|
||||
proc ixp42x_init_sdram { SDRAM_CFG REFRESH CASLAT } {
|
||||
|
||||
switch $CASLAT {
|
||||
2 {
|
||||
set SDRAM_CFG [expr $SDRAM_CFG | $::IXP42x_SDRAM_CL2 ]
|
||||
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS2_CMD
|
||||
2 {
|
||||
set SDRAM_CFG [expr $SDRAM_CFG | $::IXP42x_SDRAM_CL2 ]
|
||||
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS2_CMD
|
||||
}
|
||||
3 {
|
||||
set SDRAM_CFG [expr $SDRAM_CFG | $::IXP42x_SDRAM_CL3 ]
|
||||
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS3_CMD
|
||||
set SDRAM_CFG [expr $SDRAM_CFG | $::IXP42x_SDRAM_CL3 ]
|
||||
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS3_CMD
|
||||
}
|
||||
default { error [format "unsupported cas latency \"%s\" " $CASLAT] }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user