# Try to run at 1khz... Yea, that slow!
# Chip is really running @ 32khz
jtag_khz 8
-
+
mww 0xfffffc64 0xffffffff
## disable all clocks but system clock
mww 0xfffffc04 0xfffffffe
mww 0xfffffc30 0x202
## Sleep some - (go read)
sleep 100
-
+
#========================================
# CPU now runs at 180mhz
# SYS runs at 60mhz.
jtag_khz 40000
#========================================
-
-
+
+
## set memc for all memories
mww 0xffffff60 0x02
## program smc controller
mww 0xffffff80 0x02
## touch sdram chip to make it work
mww 0x20000000 0
- ## sdram controller mode register
+ ## sdram controller mode register
mww 0xffffff90 0x04
mww 0x20000000 0
mww 0x20000000 0