forked from auracaster/openocd
target/arvm7a: Use 'bool' data type where appropriate
The variables are already used as boolean value but have the wrong data type. Change-Id: I0f169cac83f6c4094e8d1acb2cb8f1017a96a5d8 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/9008 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
c2b8f994bf
commit
b4d05b6e72
@@ -58,7 +58,7 @@ struct armv7a_arch_cache {
|
||||
|
||||
/* common cache information */
|
||||
struct armv7a_cache_common {
|
||||
int info; /* -1 invalid, else valid */
|
||||
bool info_valid;
|
||||
int loc; /* level of coherency */
|
||||
uint32_t dminline; /* minimum d-cache linelen */
|
||||
uint32_t iminline; /* minimum i-cache linelen */
|
||||
@@ -72,7 +72,7 @@ struct armv7a_cache_common {
|
||||
|
||||
struct armv7a_mmu_common {
|
||||
/* following field mmu working way */
|
||||
int32_t cached; /* 0: not initialized, 1: initialized */
|
||||
bool cached;
|
||||
uint32_t ttbcr; /* cache for ttbcr register */
|
||||
uint32_t ttbr[2];
|
||||
uint32_t ttbr_mask[2];
|
||||
|
||||
Reference in New Issue
Block a user