target: use proper format with uint32_t
Modify the format strings to properly handle uint32_t data types. While there, fix prototype mismatch between header and C file of the function armv7a_l1_d_cache_inval_virt(). Change-Id: I434bd241fa5c38e0c15d22cda2295097050067f5 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5818 Tested-by: jenkins
This commit is contained in:
@@ -185,7 +185,7 @@ static int arm7a_handle_l2x_cache_info_command(struct command_invocation *cmd,
|
||||
}
|
||||
|
||||
command_print(cmd,
|
||||
"L2 unified cache Base Address 0x%" PRIx32 ", %" PRId32 " ways",
|
||||
"L2 unified cache Base Address 0x%" PRIx32 ", %" PRIu32 " ways",
|
||||
l2x_cache->base, l2x_cache->way);
|
||||
|
||||
return ERROR_OK;
|
||||
|
||||
Reference in New Issue
Block a user