aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2010-05-18 12:51:18 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-06-21 15:48:30 -0400
commit38db050e0bfc8c483e5d7b85feef23d46069ec18 (patch)
treef89a3e7a89fbd6749f0d597aa55336c519fb55fe /arch
parentdc2eb76c40590a3c080294d1fbd000c8f70d88a9 (diff)
Davinci: tnetv107x decompresser uart definitions
Added definitions for tnetv107x uart base addresses, and modified base address selection for kernel decompressor to check for tnetv107x machine type. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-davinci/include/mach/serial.h8
-rw-r--r--arch/arm/mach-davinci/include/mach/uncompress.h7
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/serial.h b/arch/arm/mach-davinci/include/mach/serial.h
index b21ec224b11d..8051110b8ac3 100644
--- a/arch/arm/mach-davinci/include/mach/serial.h
+++ b/arch/arm/mach-davinci/include/mach/serial.h
@@ -32,6 +32,14 @@
32#define DA8XX_UART1_BASE (IO_PHYS + 0x10c000) 32#define DA8XX_UART1_BASE (IO_PHYS + 0x10c000)
33#define DA8XX_UART2_BASE (IO_PHYS + 0x10d000) 33#define DA8XX_UART2_BASE (IO_PHYS + 0x10d000)
34 34
35#define TNETV107X_UART0_BASE 0x08108100
36#define TNETV107X_UART1_BASE 0x08088400
37#define TNETV107X_UART2_BASE 0x08108300
38
39#define TNETV107X_UART0_VIRT IOMEM(0xfee08100)
40#define TNETV107X_UART1_VIRT IOMEM(0xfed88400)
41#define TNETV107X_UART2_VIRT IOMEM(0xfee08300)
42
35/* DaVinci UART register offsets */ 43/* DaVinci UART register offsets */
36#define UART_DAVINCI_PWREMU 0x0c 44#define UART_DAVINCI_PWREMU 0x0c
37#define UART_DM646X_SCR 0x10 45#define UART_DM646X_SCR 0x10
diff --git a/arch/arm/mach-davinci/include/mach/uncompress.h b/arch/arm/mach-davinci/include/mach/uncompress.h
index 20c23a3bc907..15a6192ad6eb 100644
--- a/arch/arm/mach-davinci/include/mach/uncompress.h
+++ b/arch/arm/mach-davinci/include/mach/uncompress.h
@@ -63,6 +63,10 @@ static inline void set_uart_info(u32 phys, void * __iomem virt)
63 _DEBUG_LL_ENTRY(machine, DA8XX_UART##port##_BASE, \ 63 _DEBUG_LL_ENTRY(machine, DA8XX_UART##port##_BASE, \
64 IO_ADDRESS(DA8XX_UART##port##_BASE)) 64 IO_ADDRESS(DA8XX_UART##port##_BASE))
65 65
66#define DEBUG_LL_TNETV107X(machine, port) \
67 _DEBUG_LL_ENTRY(machine, TNETV107X_UART##port##_BASE, \
68 TNETV107X_UART##port##_VIRT)
69
66static inline void __arch_decomp_setup(unsigned long arch_id) 70static inline void __arch_decomp_setup(unsigned long arch_id)
67{ 71{
68 /* 72 /*
@@ -84,6 +88,9 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
84 /* DA8xx boards */ 88 /* DA8xx boards */
85 DEBUG_LL_DA8XX(davinci_da830_evm, 2); 89 DEBUG_LL_DA8XX(davinci_da830_evm, 2);
86 DEBUG_LL_DA8XX(davinci_da850_evm, 2); 90 DEBUG_LL_DA8XX(davinci_da850_evm, 2);
91
92 /* TNETV107x boards */
93 DEBUG_LL_TNETV107X(tnetv107x, 1);
87 } while (0); 94 } while (0);
88} 95}
89 96