Davinci: serial - use ioremap()
authorCyril Chemparathy <cyril@ti.com>
Sun, 2 May 2010 18:28:13 +0000 (14:28 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 6 May 2010 22:02:10 +0000 (15:02 -0700)
commit9ee1acefa86083c6acf4112983b88a0057eb7785
treea5a3ce140b5596bbfc9fd48fe664c9fd6fc1786d
parentda0122ca8b7804b9cd8fa7eff466bafba27f09a3
Davinci: serial - use ioremap()

This patch implements davinci serial cleanups towards having this code
reusable on tnetv107x.

The change reuses the platform data membase field to hold the remapped space.
By disabling the UPF_IOREMAP flag in the platform data, we prevent
the 8250 driver from repeating the ioremap.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/serial.c