diff options
author | Christian Ruppert <christian.ruppert@abilis.com> | 2013-04-12 02:40:59 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-05-07 04:13:59 -0400 |
commit | 072eb693904a52df95ac3d8e8ee00752ed82342c (patch) | |
tree | 4b411af0a97d82526b5a4619f3e5e10c0524df03 /arch/arc/include | |
parent | 2eb9504bcc1f164ac137cd12c5deeb1e21cc6b1b (diff) |
ARC: [TB10x] Add support for TB10x platform
Infrastructure required to make the Linux kernel compile and boot on the
Abilis Systems TB10x series of SOCs based on ARC700 CPUs:
- Kmake related files (Kconfig, Makefile, tb10x_defconfig)
- TB10x platform initialisation
Signed-off-by: Christian Ruppert <christian.ruppert@abilis.com>
Signed-off-by: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include')
-rw-r--r-- | arch/arc/include/asm/serial.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arc/include/asm/serial.h b/arch/arc/include/asm/serial.h index 4dff5a1e4128..602b0970a764 100644 --- a/arch/arc/include/asm/serial.h +++ b/arch/arc/include/asm/serial.h | |||
@@ -22,4 +22,14 @@ | |||
22 | 22 | ||
23 | #define BASE_BAUD (arc_get_core_freq() / 16) | 23 | #define BASE_BAUD (arc_get_core_freq() / 16) |
24 | 24 | ||
25 | /* | ||
26 | * This is definitely going to break early 8250 consoles on multi-platform | ||
27 | * images but hey, it won't add any code complexity for a debug feature of | ||
28 | * one broken driver. | ||
29 | */ | ||
30 | #ifdef CONFIG_ARC_PLAT_TB10X | ||
31 | #undef BASE_BAUD | ||
32 | #define BASE_BAUD (arc_get_core_freq() / 16 / 3) | ||
33 | #endif | ||
34 | |||
25 | #endif /* _ASM_ARC_SERIAL_H */ | 35 | #endif /* _ASM_ARC_SERIAL_H */ |