projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl: remove trailing whitespace
[fw/openocd]
/
tcl
/
board
/
uptech_2410.cfg
diff --git
a/tcl/board/uptech_2410.cfg
b/tcl/board/uptech_2410.cfg
index 680cfd7d60419ba1eb8896b2c3c146081f755cd0..227cf42f6b355fa6664ad93e55a6395d655525e5 100644
(file)
--- a/
tcl/board/uptech_2410.cfg
+++ b/
tcl/board/uptech_2410.cfg
@@
-11,28
+11,28
@@
proc init_pll_sdram { } {
#echo "---------- Initializing PLL and SDRAM ---------"
#watchdog timer disable
mww phys 0x53000000 0x00000000
#echo "---------- Initializing PLL and SDRAM ---------"
#watchdog timer disable
mww phys 0x53000000 0x00000000
-
+
#disable all interrupts
mww phys 0x4a000008 0xffffffff
#disable all interrupts
mww phys 0x4a000008 0xffffffff
-
+
#disable all sub-interrupts
mww phys 0x4a00001c 0x000007ff
#disable all sub-interrupts
mww phys 0x4a00001c 0x000007ff
-
+
#clear all source pending bits
mww phys 0x4a000000 0xffffffff
#clear all source pending bits
mww phys 0x4a000000 0xffffffff
-
+
#clear all sub-source pending bits
mww phys 0x4a000018 0x000007ff
#clear all sub-source pending bits
mww phys 0x4a000018 0x000007ff
-
+
#clear interrupt pending bit
mww phys 0x4a000010 0xffffffff
#clear interrupt pending bit
mww phys 0x4a000010 0xffffffff
-
+
#PLL locktime counter
mww phys 0x4c000000 0x00ffffff
#PLL locktime counter
mww phys 0x4c000000 0x00ffffff
-
+
#Fin=12MHz Fout=202.8MHz
#mww phys 0x4c000004 0x000a1031
#Fin=12MHz Fout=202.8MHz
#mww phys 0x4c000004 0x000a1031
-
+
#FCLK:HCLK:PCLK = 1:2:4
mww phys 0x4c000014 0x00000003
#FCLK:HCLK:PCLK = 1:2:4
mww phys 0x4c000014 0x00000003