serial.h 607 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2017 MIPS Tech, LLC
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License as published by the
  6. * Free Software Foundation; either version 2 of the License, or (at your
  7. * option) any later version.
  8. */
  9. #ifndef __ASM__SERIAL_H
  10. #define __ASM__SERIAL_H
  11. #ifdef CONFIG_MIPS_GENERIC
  12. /*
  13. * Generic kernels cannot know a correct value for all platforms at
  14. * compile time. Set it to 0 to prevent 8250_early using it
  15. */
  16. #define BASE_BAUD 0
  17. #else
  18. #include <asm-generic/serial.h>
  19. #endif
  20. #endif /* __ASM__SERIAL_H */