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:
committed by
Antonio Borneo
parent
218ea2658a
commit
bd32290864
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user