fdt_serial.h 418 B

12345678910111213141516171819202122
  1. /*
  2. * SPDX-License-Identifier: BSD-2-Clause
  3. *
  4. * Copyright (c) 2020 Western Digital Corporation or its affiliates.
  5. *
  6. * Authors:
  7. * Anup Patel <anup.patel@wdc.com>
  8. */
  9. #ifndef __FDT_SERIAL_H__
  10. #define __FDT_SERIAL_H__
  11. #include <sbi/sbi_types.h>
  12. struct fdt_serial {
  13. const struct fdt_match *match_table;
  14. int (*init)(void *fdt, int nodeoff, const struct fdt_match *match);
  15. };
  16. int fdt_serial_init(void);
  17. #endif