ARM: mach-davinci: clean up debug-macro.S
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 2 Sep 2011 00:50:14 +0000 (20:50 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Mon, 26 Sep 2011 14:11:28 +0000 (10:11 -0400)
commit67f462b29310814a8de29d35b422a9ed41d5f39a
treea11c1e77f2e7b9cf8211d920ab07a0829ec6c405
parente020fe34f8fc5cb42c2f518ea120005b4d01923d
ARM: mach-davinci: clean up debug-macro.S

This achieves two goals:

1) Get rid of davinci_uart_v2p() and davinci_uart_p2v() which were the
   last users of PLAT_PHYS_OFFSET.

2) Remove the probing of the M bit in the CP15 control reg and make
   the access to the .data variables completely position independent.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-davinci/include/mach/debug-macro.S