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