powerpc/fsl_booke: introduce get_phys_addr function
authorKevin Hao <haokexin@gmail.com>
Tue, 24 Dec 2013 07:12:04 +0000 (15:12 +0800)
committerScott Wood <scottwood@freescale.com>
Thu, 9 Jan 2014 23:52:15 +0000 (17:52 -0600)
Move the codes which translate a effective address to physical address
to a separate function. So it can be reused by other code.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/head_fsl_booke.S

Simple merge