target: aarch64: drop unused armv8_mmu_translate_va()
The function is not used. Drop it! Change-Id: I1625e03714b5a842f668098191c39cce34f815e8 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8549 Tested-by: jenkins
This commit is contained in:
parent
c5babec794
commit
df42faf51d
|
@ -1021,12 +1021,6 @@ static __attribute__((unused)) void armv8_show_fault_registers(struct target *ta
|
||||||
armv8_show_fault_registers32(armv8);
|
armv8_show_fault_registers32(armv8);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* method adapted to cortex A : reused arm v4 v5 method*/
|
|
||||||
int armv8_mmu_translate_va(struct target *target, target_addr_t va, target_addr_t *val)
|
|
||||||
{
|
|
||||||
return ERROR_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void armv8_decode_cacheability(int attr)
|
static void armv8_decode_cacheability(int attr)
|
||||||
{
|
{
|
||||||
if (attr == 0) {
|
if (attr == 0) {
|
||||||
|
|
|
@ -298,7 +298,6 @@ int armv8_identify_cache(struct armv8_common *armv8);
|
||||||
int armv8_init_arch_info(struct target *target, struct armv8_common *armv8);
|
int armv8_init_arch_info(struct target *target, struct armv8_common *armv8);
|
||||||
int armv8_mmu_translate_va_pa(struct target *target, target_addr_t va,
|
int armv8_mmu_translate_va_pa(struct target *target, target_addr_t va,
|
||||||
target_addr_t *val, int meminfo);
|
target_addr_t *val, int meminfo);
|
||||||
int armv8_mmu_translate_va(struct target *target, target_addr_t va, target_addr_t *val);
|
|
||||||
|
|
||||||
int armv8_handle_cache_info_command(struct command_invocation *cmd,
|
int armv8_handle_cache_info_command(struct command_invocation *cmd,
|
||||||
struct armv8_cache_common *armv8_cache);
|
struct armv8_cache_common *armv8_cache);
|
||||||
|
|
Loading…
Reference in New Issue