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