blob: 744a6ae15754c7ec86b06dda45e7ef0cfdc72904 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/*
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
18extern unsigned int __init arc_early_base_baud(void);
19
20#define BASE_BAUD arc_early_base_baud()
21
22#endif /* _ASM_ARC_SERIAL_H */