serial.h 473 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. */
  4. #ifndef _ASM_POWERPC_SERIAL_H
  5. #define _ASM_POWERPC_SERIAL_H
  6. /*
  7. * Serial ports are not listed here, because they are discovered
  8. * through the device tree.
  9. */
  10. /* Default baud base if not found in device-tree */
  11. #define BASE_BAUD ( 1843200 / 16 )
  12. #ifdef CONFIG_PPC_UDBG_16550
  13. extern void find_legacy_serial_ports(void);
  14. #else
  15. #define find_legacy_serial_ports() do { } while (0)
  16. #endif
  17. #endif /* _PPC64_SERIAL_H */