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
@@ -24,8 +24,8 @@ struct armv4_5_cache_common {
|
||||
int separate; /* separate caches or unified cache */
|
||||
struct armv4_5_cachesize d_u_size; /* data cache */
|
||||
struct armv4_5_cachesize i_size; /* instruction cache */
|
||||
int i_cache_enabled;
|
||||
int d_u_cache_enabled;
|
||||
bool i_cache_enabled;
|
||||
bool d_u_cache_enabled;
|
||||
};
|
||||
|
||||
int armv4_5_identify_cache(uint32_t cache_type_reg,
|
||||
|
||||
Reference in New Issue
Block a user