From 2389c28ea8f65a4d18b0d608e6e82966b33b13a5 Mon Sep 17 00:00:00 2001 From: HAOUES Ahmed Date: Thu, 25 Dec 2025 10:30:07 +0100 Subject: [PATCH] flash/bluenrg-x: implement flash bank deallocation with simple alloc All drivers which simply allocate one driver_priv memory block per each bank now use default_flash_free_driver_priv() Change-Id: Id998013332fe29d6882004a0ff897464dd4dccbc Signed-off-by: HAOUES Ahmed Reviewed-on: https://review.openocd.org/c/openocd/+/9353 Reviewed-by: Tarek BOCHKATI Tested-by: jenkins Reviewed-by: Tomas Vanek Reviewed-by: Antonio Borneo --- src/flash/nor/bluenrg-x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flash/nor/bluenrg-x.c b/src/flash/nor/bluenrg-x.c index ccbbcc66e..967a4d985 100644 --- a/src/flash/nor/bluenrg-x.c +++ b/src/flash/nor/bluenrg-x.c @@ -563,4 +563,5 @@ const struct flash_driver bluenrgx_flash = { .protect_check = NULL, .auto_probe = bluenrgx_auto_probe, .info = bluenrgx_get_info, + .free_driver_priv = default_flash_free_driver_priv, };