summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/uncompress.h
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2009-06-04 03:41:53 +0200
committerKevin Hilman <khilman@deeprootsystems.com>2009-08-26 09:56:59 +0200
commit8593790d604c29a717d5914159ce78c7bb9899fb (patch)
tree68176675ac1f1931548cdb282c3cfbff7b69930f /arch/arm/mach-davinci/include/mach/uncompress.h
parentdavinci: da8xx: Add base DA830/OMAP-L137 SoC support (diff)
downloadlinux-8593790d604c29a717d5914159ce78c7bb9899fb.tar.xz
linux-8593790d604c29a717d5914159ce78c7bb9899fb.zip
davinci: da8xx: Add support for DA830/OMAP-L137 EVM board
Add support for the DA830/OMAP-L137 Evaluation Module (EVM) from TI. The EVM has User Interface (UI) and Audio cards that can be connected which contain various devices. Support for those devices and ones on the EVM will be added in subsequent patches. Additional generalizations for future SoCs in da8xx family done by Sudhakar Rajashekhara and Sekhar Nori. Signed-off-by: Steve Chen <schen@mvista.com> Signed-off-by: Mark A. Greer <mgreer@mvista.com> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Cc: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/uncompress.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/uncompress.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/include/mach/uncompress.h b/arch/arm/mach-davinci/include/mach/uncompress.h
index 1e27475f9a23..0f1f12b67875 100644
--- a/arch/arm/mach-davinci/include/mach/uncompress.h
+++ b/arch/arm/mach-davinci/include/mach/uncompress.h
@@ -21,8 +21,10 @@ static u32 *uart;
static u32 *get_uart_base(void)
{
- /* Add logic here for new platforms, using __macine_arch_type */
- return (u32 *)DAVINCI_UART0_BASE;
+ if (__machine_arch_type == MACH_TYPE_DAVINCI_DA8XX_EVM)
+ return (u32 *)DA8XX_UART2_BASE;
+ else
+ return (u32 *)DAVINCI_UART0_BASE;
}
/* PORT_16C550A, in polled non-fifo mode */