xref: /openbmc/linux/arch/arc/include/asm/serial.h (revision 1a59d1b8)
1 /*
2  * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 
9 #ifndef _ASM_ARC_SERIAL_H
10 #define _ASM_ARC_SERIAL_H
11 
12 /*
13  * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header.
14  * However to still determine it dynamically (for multi-platform images)
15  * we do this in a helper by parsing the FDT early
16  */
17 
18 extern unsigned int __init arc_early_base_baud(void);
19 
20 #define BASE_BAUD	arc_early_base_baud()
21 
22 #endif /* _ASM_ARC_SERIAL_H */
23