forked from auracaster/openocd
TCL: fix non TCL comments
End of line comments fixed with ';' before '#'. Added few additional 'space' to keep indentation in multi-line comments. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Øyvind Harboe
parent
af3f77a177
commit
30da7c67ce
@@ -35,36 +35,36 @@ $_TARGETNAME configure -event reset-init {
|
||||
#############################################################################
|
||||
# setup expansion bus CS, disable external wdt
|
||||
#############################################################################
|
||||
mww 0xc4000000 0xbd113842 #CS0 : Flash, write enabled @0x50000000
|
||||
mww 0xc4000004 0x94d10013 #CS1
|
||||
mww 0xc4000008 0x95960003 #CS2
|
||||
mww 0xc400000c 0x00000000 #CS3
|
||||
mww 0xc4000010 0x80900003 #CS4
|
||||
mww 0xc4000014 0x9d520003 #CS5
|
||||
mww 0xc4000018 0x81860001 #CS6
|
||||
mww 0xc400001c 0x80900003 #CS7
|
||||
mww 0xc4000000 0xbd113842 ;#CS0 : Flash, write enabled @0x50000000
|
||||
mww 0xc4000004 0x94d10013 ;#CS1
|
||||
mww 0xc4000008 0x95960003 ;#CS2
|
||||
mww 0xc400000c 0x00000000 ;#CS3
|
||||
mww 0xc4000010 0x80900003 ;#CS4
|
||||
mww 0xc4000014 0x9d520003 ;#CS5
|
||||
mww 0xc4000018 0x81860001 ;#CS6
|
||||
mww 0xc400001c 0x80900003 ;#CS7
|
||||
|
||||
#############################################################################
|
||||
# init SDRAM controller: 16MB, one bank, CL3
|
||||
#############################################################################
|
||||
mww 0xCC000000 0x2A # SDRAM_CFG: 64MBit, CL3
|
||||
mww 0xCC000004 0 # disable refresh
|
||||
mww 0xCC000008 3 # NOP
|
||||
mww 0xCC000000 0x2A ;# SDRAM_CFG: 64MBit, CL3
|
||||
mww 0xCC000004 0 ;# disable refresh
|
||||
mww 0xCC000008 3 ;# NOP
|
||||
sleep 100
|
||||
mww 0xCC000004 2100 # set refresh counter
|
||||
mww 0xCC000008 2 # Precharge All Banks
|
||||
mww 0xCC000004 2100 ;# set refresh counter
|
||||
mww 0xCC000008 2 ;# Precharge All Banks
|
||||
sleep 100
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 4 # Auto Refresh
|
||||
mww 0xCC000008 1 # Mode Select CL3
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 4 ;# Auto Refresh
|
||||
mww 0xCC000008 1 ;# Mode Select CL3
|
||||
|
||||
#mww 0xc4000020 0xffffee # CFG0: remove expansion bus boot flash
|
||||
#mww 0xc4000020 0xffffee ;# CFG0: remove expansion bus boot flash
|
||||
#mirror at 0x00000000
|
||||
|
||||
#big endian
|
||||
|
||||
Reference in New Issue
Block a user