target: Use 'bool' data type for {i,d_u}_cache_enabled

The variables are already used as boolean value but have the wrong
data type.

Change-Id: Ia4c63d04fdd61bfd48e353fde9984b0e6cefbd8b
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8992
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Marc Schink
2025-07-09 12:06:59 +00:00
committed by Antonio Borneo
parent 218ea2658a
commit bd32290864
9 changed files with 27 additions and 24 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ struct armv7a_cache_common {
uint32_t dminline; /* minimum d-cache linelen */
uint32_t iminline; /* minimum i-cache linelen */
struct armv7a_arch_cache arch[6]; /* cache info, L1 - L7 */
int i_cache_enabled;
int d_u_cache_enabled;
bool i_cache_enabled;
bool d_u_cache_enabled;
/* outer unified cache if some */
struct armv7a_l2x_cache *outer_cache;
int (*flush_all_data_cache)(struct target *target);