This is an automated email from Gerrit.

"Tomas Vanek <[email protected]>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/9061

-- gerrit

commit 9c5662d92c034097a945447e814275441404216d
Author: Tomas Vanek <[email protected]>
Date:   Mon Jul 28 09:50:55 2025 +0200

    flash/nor/atsamv: reduce flash driver verbosity
    
    Remove useless LOG_INFO in samv_flash_bank_command().
    Change LOG_INFO to LOG_DEBUG in samv_erase().
    
    Change-Id: I46923ea4f020197ba902b1a7226cc8ee91831a5a
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/src/flash/nor/atsamv.c b/src/flash/nor/atsamv.c
index ab53ffe086..52cabfb5d1 100644
--- a/src/flash/nor/atsamv.c
+++ b/src/flash/nor/atsamv.c
@@ -410,7 +410,6 @@ static int samv_protect_check(struct flash_bank *bank)
 
 FLASH_BANK_COMMAND_HANDLER(samv_flash_bank_command)
 {
-       LOG_INFO("flash bank command");
        struct samv_flash_bank *samv_info;
        samv_info = calloc(1, sizeof(struct samv_flash_bank));
        bank->driver_priv = samv_info;
@@ -510,12 +509,12 @@ static int samv_erase(struct flash_bank *bank, unsigned 
int first,
        if ((first == 0) && ((last + 1) == bank->num_sectors))
                return samv_efc_perform_command(bank->target, SAMV_EFC_FCMD_EA, 
0, NULL);
 
-       LOG_INFO("erasing lock regions %u-%u...", first, last);
+       LOG_DEBUG("erasing lock regions %u-%u...", first, last);
 
        for (unsigned int i = first; i <= last; i++) {
                uint32_t status;
                r = samv_erase_pages(bank->target, (i * page_count), 
page_count, &status);
-               LOG_INFO("erasing lock region %u", i);
+               LOG_DEBUG("erasing lock region %u", i);
                if (r != ERROR_OK)
                        LOG_ERROR("error performing erase page @ lock region 
number %u", i);
                if (status & (1 << 2)) {

-- 

Reply via email to