162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _ASM_ARC_SERIAL_H
762306a36Sopenharmony_ci#define _ASM_ARC_SERIAL_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/*
1062306a36Sopenharmony_ci * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header.
1162306a36Sopenharmony_ci * However to still determine it dynamically (for multi-platform images)
1262306a36Sopenharmony_ci * we do this in a helper by parsing the FDT early
1362306a36Sopenharmony_ci */
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciextern unsigned int __init arc_early_base_baud(void);
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#define BASE_BAUD	arc_early_base_baud()
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#endif /* _ASM_ARC_SERIAL_H */
20