Simon Glass | da59fae | 2016-07-04 11:58:02 -0600 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2016 Google, Inc | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
Philipp Tomsich | 7033e0d | 2017-07-11 23:30:07 +0200 | [diff] [blame] | 7 | #ifndef __DT_STRUCTS |
8 | #define __DT_STRUCTS | ||||
Simon Glass | da59fae | 2016-07-04 11:58:02 -0600 | [diff] [blame] | 9 | |
10 | /* These structures may only be used in SPL */ | ||||
11 | #if CONFIG_IS_ENABLED(OF_PLATDATA) | ||||
12 | struct phandle_2_cell { | ||||
13 | const void *node; | ||||
14 | int id; | ||||
15 | }; | ||||
16 | #include <generated/dt-structs.h> | ||||
17 | #endif | ||||
18 | |||||
19 | #endif |