PPC: 85xx: Generalize DDR TLB mapping function
authorAlexander Graf <agraf@suse.de>
Fri, 11 Apr 2014 15:09:43 +0000 (17:09 +0200)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:45 +0000 (17:58 -0700)
commitf29f804a93e87c17670607641d120f431a3b0633
tree78a2a69d9e98522a86b64c9eb0a7afdcc520d1f2
parent46a346834b1857ded410f44e59da93a8793f19fc
PPC: 85xx: Generalize DDR TLB mapping function

The DDR mapping function really is just a generic virtual -> physical
mapping function. Generalize it so it can support any virtual starting
offset and IO maps just the same.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/include/asm/mmu.h