Fix omap3_dbginit to write to physical memory.
authorZachary T Welch <zwelch@codesourcery.com>
Fri, 24 Sep 2010 23:13:04 +0000 (16:13 -0700)
committerZachary T Welch <zwelch@codesourcery.com>
Mon, 27 Sep 2010 00:45:58 +0000 (17:45 -0700)
Setting the OMAP3530 DBGEN bit must be done in physical memory, so
update omap3_dbginit callback to use the new 'mww phys' command syntax.

tcl/target/omap3530.cfg

index 74edd7289fbdf8b5f89cad2fc4e92c04bf58305b..ba130a9cb7eb59a0d831ed1b7895e01a1f4972cd 100644 (file)
@@ -56,7 +56,7 @@ proc omap3_dbginit {target} {
      # General Cortex A8 debug initialisation
      cortex_a8 dbginit
      # Enable DBGU signal for OMAP353x
-     $target mww 0x5401d030 0x00002000
+     $target mww phys 0x5401d030 0x00002000
 }
 
 # be absolutely certain the JTAG clock will work with the worst-case