]> git.sur5r.net Git - openocd/commitdiff
ARMV4_5_MMU: review unused symbols
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 08:46:59 +0000 (16:46 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 08:46:59 +0000 (16:46 +0800)
Remove unused data:
- armv4_5_mmu_page_type_names
Remove prototype of not existing function:
- armv4mmu_translate_va

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/armv4_5_mmu.c

index 4d2fbeeb26fc604286fe6002fcc08c1b55b3295b..fc1dde7553bb0d74a1f906908d6b2d0ebaae4f7c 100644 (file)
 #include "armv4_5_mmu.h"
 
 
-uint32_t armv4mmu_translate_va(struct target *target, struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, int *type, uint32_t *cb, int *domain, uint32_t *ap);
-
-char* armv4_5_mmu_page_type_names[] =
-{
-       "section", "large page", "small page", "tiny page"
-};
-
 uint32_t armv4_5_mmu_translate_va(struct target *target, struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, int *type, uint32_t *cb, int *domain, uint32_t *ap)
 {
        uint32_t first_lvl_descriptor = 0x0;