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