This is an automated email from Gerrit.

"Noah Moroze <noahmor...@gmail.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/8281

-- gerrit

commit 47a5429e71ef9e99c2a35bab1e74b4a0a422a2d5
Author: Noah Moroze <noahmor...@gmail.com>
Date:   Wed May 15 22:49:23 2024 -0400

    tcl/chip/st/spear: fix syntax errors
    
    Change-Id: I2763d93095e3db7590644652f16b7b24939d6cae
    Signed-off-by: Noah Moroze <noahmor...@gmail.com>

diff --git a/tcl/chip/st/spear/spear3xx_ddr.tcl 
b/tcl/chip/st/spear/spear3xx_ddr.tcl
index 59925672dc..06962215b2 100644
--- a/tcl/chip/st/spear/spear3xx_ddr.tcl
+++ b/tcl/chip/st/spear/spear3xx_ddr.tcl
@@ -10,7 +10,7 @@
 
 proc sp3xx_ddr_init {ddr_type {ddr_chips 1}} {
        if { $ddr_chips != 1 && $ddr_chips != 2 } {
-               error "Only 1 or 2 DDR chips permitted. Wrong value "$ddr_chips
+               error "Only 1 or 2 DDR chips permitted. Wrong value $ddr_chips"
        }
 
        if { $ddr_type == "mt47h64m16_3_333_cl5_async" } {
@@ -21,7 +21,7 @@ proc sp3xx_ddr_init {ddr_type {ddr_chips 1}} {
        #       ????? $ddr_chips
        #       set ddr_size 0x?????
        } else {
-               error "sp3xx_ddr_init: unrecognized DDR type "$ddr_type
+               error "sp3xx_ddr_init: unrecognized DDR type $ddr_type"
        }
 
        # MPMC START

-- 

Reply via email to