This is an automated email from Gerrit.

Marek Vasut ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/5390

-- gerrit

commit 34d5c54751c4c641dde2b6cb55980f733903a1a6
Author: Marek Vasut <[email protected]>
Date:   Sun Jan 5 22:33:29 2020 +0100

    flash/nor: Rename get_cfi_info() to get_cfi_info()
    
    This is a preparatory change, align the function name with the rest
    of the API, no functional change.
    
    Change-Id: Ib967520f027b03eb1792b36ede52335df8e23941
    Signed-off-by: Marek Vasut <[email protected]>

diff --git a/src/flash/nor/cfi.c b/src/flash/nor/cfi.c
index 0f86c2b..69076d1 100644
--- a/src/flash/nor/cfi.c
+++ b/src/flash/nor/cfi.c
@@ -3025,7 +3025,7 @@ static int cfi_protect_check(struct flash_bank *bank)
        return ERROR_OK;
 }
 
-static int get_cfi_info(struct flash_bank *bank, char *buf, int buf_size)
+static int cfi_get_info(struct flash_bank *bank, char *buf, int buf_size)
 {
        int printed;
        struct cfi_flash_bank *cfi_info = bank->driver_priv;
@@ -3136,6 +3136,6 @@ const struct flash_driver cfi_flash = {
        /* FIXME: access flash at bus_width size */
        .erase_check = default_flash_blank_check,
        .protect_check = cfi_protect_check,
-       .info = get_cfi_info,
+       .info = cfi_get_info,
        .free_driver_priv = default_flash_free_driver_priv,
 };

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to