diff options
author | Mark A. Greer <mgreer@mvista.com> | 2009-06-03 21:41:53 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 03:56:59 -0400 |
commit | 8593790d604c29a717d5914159ce78c7bb9899fb (patch) | |
tree | 68176675ac1f1931548cdb282c3cfbff7b69930f /arch/arm/mach-davinci/include/mach | |
parent | 55c79a40e34566e9d198f6205b0cf06e3d89ac0a (diff) |
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')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/debug-macro.S | 7 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/uncompress.h | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/include/mach/debug-macro.S b/arch/arm/mach-davinci/include/mach/debug-macro.S index de3fc2182b47..69837a67d5f5 100644 --- a/arch/arm/mach-davinci/include/mach/debug-macro.S +++ b/arch/arm/mach-davinci/include/mach/debug-macro.S | |||
@@ -24,7 +24,14 @@ | |||
24 | tst \rx, #1 @ MMU enabled? | 24 | tst \rx, #1 @ MMU enabled? |
25 | moveq \rx, #0x01000000 @ physical base address | 25 | moveq \rx, #0x01000000 @ physical base address |
26 | movne \rx, #0xfe000000 @ virtual base | 26 | movne \rx, #0xfe000000 @ virtual base |
27 | #if defined(CONFIG_ARCH_DAVINCI_DA8XX) && defined(CONFIG_ARCH_DAVINCI_DMx) | ||
28 | #error Cannot enable DaVinci and DA8XX platforms concurrently | ||
29 | #elif defined(CONFIG_MACH_DAVINCI_DA8XX_EVM) | ||
30 | orr \rx, \rx, #0x00d00000 @ physical base address | ||
31 | orr \rx, \rx, #0x0000d000 @ of UART 2 | ||
32 | #else | ||
27 | orr \rx, \rx, #0x00c20000 @ UART 0 | 33 | orr \rx, \rx, #0x00c20000 @ UART 0 |
34 | #endif | ||
28 | .endm | 35 | .endm |
29 | 36 | ||
30 | .macro senduart,rd,rx | 37 | .macro senduart,rd,rx |
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; | |||
21 | 21 | ||
22 | static u32 *get_uart_base(void) | 22 | static u32 *get_uart_base(void) |
23 | { | 23 | { |
24 | /* Add logic here for new platforms, using __macine_arch_type */ | 24 | if (__machine_arch_type == MACH_TYPE_DAVINCI_DA8XX_EVM) |
25 | return (u32 *)DAVINCI_UART0_BASE; | 25 | return (u32 *)DA8XX_UART2_BASE; |
26 | else | ||
27 | return (u32 *)DAVINCI_UART0_BASE; | ||
26 | } | 28 | } |
27 | 29 | ||
28 | /* PORT_16C550A, in polled non-fifo mode */ | 30 | /* PORT_16C550A, in polled non-fifo mode */ |