omap4430: Add JRC TAPID for PandaBoard REV EA1 (PEAP platforms)
authorLuca Ellero <lroluk@gmail.com>
Mon, 7 Feb 2011 22:47:15 +0000 (22:47 +0000)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 8 Feb 2011 08:51:54 +0000 (09:51 +0100)
PandaBoard REV EA1 (Panda Early Adopter Program) has a different ID.
This patch add alternate REV EA1 TAP id to configuration file

Signed-off-by: Luca Ellero <lroluk@gmail.com>
tcl/target/omap4430.cfg

index 69678eecd6443a87d6973a1758a054ff53b94f2a..19b2d70774008fab8948954ec31dc271ba71d7d2 100644 (file)
@@ -54,11 +54,21 @@ jtag configure $_CHIPNAME.m30_dap -event tap-enable \
 if { [info exists JRC_TAPID ] } {
        set _JRC_TAPID $JRC_TAPID
 } else {
-       set _JRC_TAPID 0x3b95c02f
+       set _JRC_TAPID  0x3b95c02f
+       set _JRC_TAPID2 0x1b85202f
 }
 
+# PandaBoard REV EA1 (PEAP platforms)
+if { [info exists JRC_TAPID2 ] } {
+       set _JRC_TAPID2 $JRC_TAPID2
+} else {
+       set _JRC_TAPID2 0x1b85202f
+}
+
+
+
 jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \
-       -expected-id $_JRC_TAPID
+       -expected-id $_JRC_TAPID -expected-id $_JRC_TAPID2  
 
 # Required by ICEpick to power-up the debug domain
 jtag configure $_CHIPNAME.jrc -event post-reset "runtest 200"