X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farmv4_5_cache.c;h=58fc0c1d52c09a6e36631947e8619b251135ae4c;hp=127420dc44ddaeacb0dbe202b343708a30615585;hb=cbc13187c315227c0cf8d85fb0b92d0ba4a10dab;hpb=90465379e558ea7310867d9d39b79428c2050ddb diff --git a/src/target/armv4_5_cache.c b/src/target/armv4_5_cache.c index 127420dc44..58fc0c1d52 100644 --- a/src/target/armv4_5_cache.c +++ b/src/target/armv4_5_cache.c @@ -22,11 +22,9 @@ #endif #include "armv4_5_cache.h" - #include "log.h" -#include "command.h" -int armv4_5_identify_cache(u32 cache_type_reg, armv4_5_cache_common_t *cache) +int armv4_5_identify_cache(uint32_t cache_type_reg, struct armv4_5_cache_common *cache) { int size, assoc, M, len, multiplier; @@ -89,7 +87,7 @@ int armv4_5_identify_cache(u32 cache_type_reg, armv4_5_cache_common_t *cache) return ERROR_OK; } -int armv4_5_handle_cache_info_command(struct command_context_s *cmd_ctx, armv4_5_cache_common_t *armv4_5_cache) +int armv4_5_handle_cache_info_command(struct command_context *cmd_ctx, struct armv4_5_cache_common *armv4_5_cache) { if (armv4_5_cache->ctype == -1) {