18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _ASM_ARC_SERIAL_H
78c2ecf20Sopenharmony_ci#define _ASM_ARC_SERIAL_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/*
108c2ecf20Sopenharmony_ci * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header.
118c2ecf20Sopenharmony_ci * However to still determine it dynamically (for multi-platform images)
128c2ecf20Sopenharmony_ci * we do this in a helper by parsing the FDT early
138c2ecf20Sopenharmony_ci */
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciextern unsigned int __init arc_early_base_baud(void);
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#define BASE_BAUD	arc_early_base_baud()
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#endif /* _ASM_ARC_SERIAL_H */
20