This is an automated email from Gerrit.

"Adam Novak <interf...@gmail.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/8468

-- gerrit

commit b282d4b6912ab37fe1ed85208cefec620d48c7d7
Author: Adam Novak <interf...@gmail.com>
Date:   Sun Aug 25 22:51:22 2024 -0400

    cpld: update warning to suggest virtex2 refresh
    
    virtex2 refresh replaced virtex2 program, but the even older programming
    commands like xc6s_program still suggest the old, now-removed program
    command. This changes the warnings to suggest the command that is still
    there, and also adds some indication that you will need to use the .pld
    name instead of the .tap name.
    
    Change-Id: I292da62a95a9b414c69cdb1bba8a28dfd16a7336
    Signed-off-by: Adam Novak <interf...@gmail.com>

diff --git a/tcl/cpld/xilinx-xc6s.cfg b/tcl/cpld/xilinx-xc6s.cfg
index 92b2605774..862c4aa897 100644
--- a/tcl/cpld/xilinx-xc6s.cfg
+++ b/tcl/cpld/xilinx-xc6s.cfg
@@ -35,7 +35,7 @@ set XC6S_JSTART 0x0c
 set XC6S_BYPASS 0x3f
 
 proc xc6s_program {tap} {
-       echo "DEPRECATED! use 'virtex2 program ...' not 'xc6s_program'"
+       echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 'xc6s_program'"
        global XC6S_JSHUTDOWN XC6S_JPROGRAM XC6S_JSTART XC6S_BYPASS
        irscan $tap $XC6S_JSHUTDOWN
        irscan $tap $XC6S_JPROGRAM
@@ -45,7 +45,7 @@ proc xc6s_program {tap} {
 
 #xtp038 and xc3sprog approach
 proc xc6s_program_iprog {tap} {
-       echo "DEPRECATED! use 'virtex2 program ...' not 'xc6s_program_iprog'"
+       echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 
'xc6s_program_iprog'"
        global XC6S_JSHUTDOWN XC6S_JSTART XC6S_BYPASS XC6S_CFG_IN
        irscan $tap $XC6S_JSHUTDOWN
        runtest 16
diff --git a/tcl/cpld/xilinx-xc7.cfg b/tcl/cpld/xilinx-xc7.cfg
index f5b0733749..6f8f4ae5cb 100644
--- a/tcl/cpld/xilinx-xc7.cfg
+++ b/tcl/cpld/xilinx-xc7.cfg
@@ -49,7 +49,7 @@ set XC7_JSTART 0x0c
 set XC7_BYPASS 0x3f
 
 proc xc7_program {tap} {
-       echo "DEPRECATED! use 'virtex2 program ...' not 'xc7_program'"
+       echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 'xc7_program'"
        global XC7_JSHUTDOWN XC7_JPROGRAM XC7_JSTART XC7_BYPASS
        irscan $tap $XC7_JSHUTDOWN
        irscan $tap $XC7_JPROGRAM
diff --git a/tcl/cpld/xilinx-xcu.cfg b/tcl/cpld/xilinx-xcu.cfg
index 4d7f26c889..63a67da202 100644
--- a/tcl/cpld/xilinx-xcu.cfg
+++ b/tcl/cpld/xilinx-xcu.cfg
@@ -109,7 +109,7 @@ set XCU_JSTART 0x0c
 set XCU_BYPASS 0x3f
 
 proc xcu_program {tap} {
-       echo "DEPRECATED! use 'virtex2 program ...' not 'xcu_program'"
+       echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 'xcu_program'"
        global XCU_JSHUTDOWN XCU_JPROGRAM XCU_JSTART XCU_BYPASS
        irscan $tap $XCU_JSHUTDOWN
        irscan $tap $XCU_JPROGRAM

-- 

Reply via email to