serial.h 644 B

12345678910111213141516171819202122
  1. /*
  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. #ifndef _ASM_ARC_SERIAL_H
  9. #define _ASM_ARC_SERIAL_H
  10. /*
  11. * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header.
  12. * However to still determine it dynamically (for multi-platform images)
  13. * we do this in a helper by parsing the FDT early
  14. */
  15. extern unsigned int __init arc_early_base_baud(void);
  16. #define BASE_BAUD arc_early_base_baud()
  17. #endif /* _ASM_ARC_SERIAL_H */