]> git.gag.com Git - fw/openocd/blobdiff - tcl/board/olimex_sam9_l9260.cfg
TCL scripts: replace "puts" with "echo"
[fw/openocd] / tcl / board / olimex_sam9_l9260.cfg
index 7c4b2ccb0a63bf4424b1648edafe588a83a8e4bf..5c16ed2f5c7cb63ba375fdef6b3712a039719517 100644 (file)
@@ -35,7 +35,7 @@ $_TARGETNAME configure -event reset-init {
        ##
        # Clock configuration for 99.328 MHz main clock.
        ##
-    puts "Setting up clock"
+    echo "Setting up clock"
        mww 0xfffffc20 0x00004001 # CKGR_MOR : enable main oscillator, 512 slow clock startup
        sleep 20                  # wait 20 ms (need 15.6 ms for startup)
        mww 0xfffffc30 0x00000001 # PMC_MCKR : switch to main oscillator (18.432 MHz)
@@ -54,7 +54,7 @@ $_TARGETNAME configure -event reset-init {
        ##
        # SDRAM configuration for 2 x Samsung K4S561632J-UC75, 4M x 16Bit x 4 Banks.
        ##
-    puts "Configuring SDRAM"
+    echo "Configuring SDRAM"
        mww 0xfffff870 0xffff0000 # PIOC_ASR : select peripheral function for D15..D31
        mww 0xfffff804 0xffff0000 # PIOC_PDR : disable PIO function for D15..D31
        
@@ -92,7 +92,7 @@ $_TARGETNAME configure -event reset-init {
     ##
     # NAND Flash Configuration for 1 x Samsung K9F4G08U0M, 512M x 8Bit.
     ##
-    puts "Configuring NAND flash"
+    echo "Configuring NAND flash"
     mww 0xfffffc10 0x00000010 ;# PMC_PCER : enable PIOC clock
     mww 0xfffff800 0x00006000 ;# PIOC_PER : enable PIO function for 13(RDY/~BSY) and 14(~CS)
     mww 0xfffff810 0x00004000 ;# PIOC_OER : enable output on 14
@@ -116,7 +116,7 @@ $_TARGETNAME configure -event reset-init {
     ##
     # Dataflash configuration for 1 x Atmel AT45DB161D, 16Mbit
     ##
-    puts "Setting up dataflash"
+    echo "Setting up dataflash"
     mww 0xfffff404 0x00000807 ;# PIOA_PDR : disable PIO function for 0(SPI0_MISO), 1(SPI0_MOSI), 
                                #            2(SPI0_SPCK), and 11(SPI0_NPCS1)
     mww 0xfffff470 0x00000007 ;# PIOA_ASR : select peripheral A function for 0, 1, and 2