]>
Commit | Line | Data |
---|---|---|
f24770d8 SG |
1 | /* |
2 | * Copyright (c) 2016 Google, Inc | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0+ | |
5 | */ | |
6 | ||
00b26f7c PT |
7 | #ifndef __DT_STRUCTS |
8 | #define __DT_STRUCTS | |
f24770d8 SG |
9 | |
10 | /* These structures may only be used in SPL */ | |
11 | #if CONFIG_IS_ENABLED(OF_PLATDATA) | |
0d15463c SG |
12 | struct phandle_0_arg { |
13 | const void *node; | |
bc79617f | 14 | int arg[0]; |
0d15463c SG |
15 | }; |
16 | ||
17 | struct phandle_1_arg { | |
f24770d8 | 18 | const void *node; |
bc79617f | 19 | int arg[1]; |
f24770d8 | 20 | }; |
634eba4b SG |
21 | |
22 | struct phandle_2_arg { | |
23 | const void *node; | |
24 | int arg[2]; | |
25 | }; | |
b145b45b | 26 | #include <generated/dt-structs-gen.h> |
f24770d8 SG |
27 | #endif |
28 | ||
29 | #endif |