X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Fboard%2Fimx35pdk.cfg;h=e5891c8bf4b18faa5a34626adc63ec8f471837bc;hb=6881c1b6d686c91a8cd604bdcd6098ab62d4dcb9;hp=3e0bf6b33ee67122fdf6f27a7dfa720159574737;hpb=dc871f422da8943de9eecaa163b4a5bf54460379;p=openocd.git diff --git a/tcl/board/imx35pdk.cfg b/tcl/board/imx35pdk.cfg index 3e0bf6b33e..e5891c8bf4 100644 --- a/tcl/board/imx35pdk.cfg +++ b/tcl/board/imx35pdk.cfg @@ -1,35 +1,11 @@ # The IMX35PDK eval board has a single IMX35 chip source [find target/imx35.cfg] +source [find target/imx.cfg] $_TARGETNAME configure -event reset-init { imx35pdk_init } -memwrite burst disable -#arm11 no_increment enable - - -global TARGETNAME -set TARGETNAME $_TARGETNAME - -# rewrite commands of the form below to arm11 mcr... -# Data.Set c15:0x042f %long 0x40000015 -proc setc15 {regs value} { - global TARGETNAME - - echo [format "set p15 0x%04x, 0x%08x" $regs $value] - - arm11 mcr $TARGETNAME 15 [expr ($regs>>12)&0x7] [expr ($regs>>0)&0xf] [expr ($regs>>4)&0xf] [expr ($regs>>8)&0x7] $value -} - proc imx35pdk_init { } { - - 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 + imx3x_reset mww 0x43f00040 0x00000000 mww 0x43f00044 0x00000000