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
@@ -168,7 +168,7 @@ static int arm7a_handle_l2x_cache_info_command(struct command_invocation *cmd,
|
||||
{
|
||||
struct armv7a_l2x_cache *l2x_cache = armv7a_cache->outer_cache;
|
||||
|
||||
if (armv7a_cache->info == -1) {
|
||||
if (!armv7a_cache->info_valid) {
|
||||
command_print(cmd, "cache not yet identified");
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user