Merge git://git.denx.de/u-boot-fsl-qoriq
[oweals/u-boot.git] / include / dt-structs.h
1 /*
2  * Copyright (c) 2016 Google, Inc
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef __DT_STTUCTS
8 #define __DT_STTUCTS
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