Only allow identity memory mapping

The code has the assumption that virtual addresses are mapped to the
same physical address but the mm function would allow this assumption to
be broken. Only offering identity mapping function avoids this problem
by enforcing assumption.

Non-identity mapping can still be added later if there proves to be a
need for it.

Change-Id: Ie3db41e1582c72d880275acdb48cabefe05b3ba0
diff --git a/inc/mm.h b/inc/mm.h
index a6f637e..31f5c2f 100644
--- a/inc/mm.h
+++ b/inc/mm.h
@@ -41,9 +41,9 @@
 
 bool mm_ptable_init(struct mm_ptable *t, uint32_t id, int mode);
 void mm_ptable_dump(struct mm_ptable *t, int mode);
-bool mm_ptable_map(struct mm_ptable *t, vaddr_t begin, vaddr_t end,
-		   paddr_t paddr, int mode);
-bool mm_ptable_map_page(struct mm_ptable *t, vaddr_t va, paddr_t pa, int mode);
+bool mm_ptable_identity_map(struct mm_ptable *t, vaddr_t begin, vaddr_t end,
+			    int mode);
+bool mm_ptable_identity_map_page(struct mm_ptable *t, vaddr_t va, int mode);
 bool mm_ptable_unmap(struct mm_ptable *t, vaddr_t begin, vaddr_t end, int mode);
 bool mm_ptable_is_mapped(struct mm_ptable *t, vaddr_t addr, int mode);
 void mm_ptable_defrag(struct mm_ptable *t, int mode);
@@ -51,7 +51,7 @@
 
 bool mm_init(void);
 bool mm_cpu_init(void);
-bool mm_map(vaddr_t begin, vaddr_t end, paddr_t paddr, int mode);
+bool mm_identity_map(vaddr_t begin, vaddr_t end, int mode);
 bool mm_unmap(vaddr_t begin, vaddr_t end, int mode);
 void mm_defrag(void);