X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Fboard%2Fopenrd.cfg;h=6371effab095c5f6b4fd106f5e214f428db6e5f0;hp=a77dcdbe6123ef26a2de62c7e9330eb3bb01e272;hb=3f9d377ce788365844f9225064cb9b0f0b4542ef;hpb=dd54981702f4fedfdd0c984654fc294f529479fc diff --git a/tcl/board/openrd.cfg b/tcl/board/openrd.cfg index a77dcdbe61..6371effab0 100644 --- a/tcl/board/openrd.cfg +++ b/tcl/board/openrd.cfg @@ -11,7 +11,8 @@ $_TARGETNAME configure \ arm7_9 dcc_downloads enable # this assumes the hardware default peripherals location before u-Boot moves it -nand device orion 0 0xd8000000 +set _FLASHNAME $_CHIPNAME.flash +nand device $_FLASHNAME orion 0 0xd8000000 proc openrd_init { } { @@ -28,7 +29,7 @@ proc openrd_init { } { jtag_reset 0 0 wait_halt - arm926ejs cp15 0 0 1 0 0x00052078 + arm mcr 15 0 0 1 0 0x00052078 mww 0xD0001400 0x43000C30 # DDR SDRAM Configuration Register mww 0xD0001404 0x37543000 # Dunit Control Low Register