serial.h 498 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
  4. */
  5. #ifndef _ASM_ARC_SERIAL_H
  6. #define _ASM_ARC_SERIAL_H
  7. /*
  8. * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header.
  9. * However to still determine it dynamically (for multi-platform images)
  10. * we do this in a helper by parsing the FDT early
  11. */
  12. extern unsigned int __init arc_early_base_baud(void);
  13. #define BASE_BAUD arc_early_base_baud()
  14. #endif /* _ASM_ARC_SERIAL_H */