mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
2eb9504bcc
commit
072eb69390
7 changed files with 257 additions and 0 deletions
|
@ -22,4 +22,14 @@
|
|||
|
||||
#define BASE_BAUD (arc_get_core_freq() / 16)
|
||||
|
||||
/*
|
||||
* This is definitely going to break early 8250 consoles on multi-platform
|
||||
* images but hey, it won't add any code complexity for a debug feature of
|
||||
* one broken driver.
|
||||
*/
|
||||
#ifdef CONFIG_ARC_PLAT_TB10X
|
||||
#undef BASE_BAUD
|
||||
#define BASE_BAUD (arc_get_core_freq() / 16 / 3)
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_ARC_SERIAL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue