dt-structs.h 368 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2016 Google, Inc
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __DT_STRUCTS
  7. #define __DT_STRUCTS
  8. /* These structures may only be used in SPL */
  9. #if CONFIG_IS_ENABLED(OF_PLATDATA)
  10. struct phandle_0_arg {
  11. const void *node;
  12. int id[0];
  13. };
  14. struct phandle_1_arg {
  15. const void *node;
  16. int id;
  17. };
  18. #include <generated/dt-structs.h>
  19. #endif
  20. #endif