blob: 744a6ae15754c7ec86b06dda45e7ef0cfdc72904 [file] [log] [blame]
Vineet Gupta0208c962013-01-23 17:24:17 +05301/*
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/*
Vineet Guptaffb7fcd2014-10-28 15:04:05 +053013 * 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
Vineet Gupta0208c962013-01-23 17:24:17 +053016 */
17
Vineet Guptaffb7fcd2014-10-28 15:04:05 +053018extern unsigned int __init arc_early_base_baud(void);
Vineet Gupta0208c962013-01-23 17:24:17 +053019
Vineet Guptaffb7fcd2014-10-28 15:04:05 +053020#define BASE_BAUD arc_early_base_baud()
Christian Ruppert072eb692013-04-12 08:40:59 +020021
Vineet Gupta0208c962013-01-23 17:24:17 +053022#endif /* _ASM_ARC_SERIAL_H */