blob: e13afa6608253e8272d7694b9d45058307ff61af [file] [log] [blame]
Simon Glassda59fae2016-07-04 11:58:02 -06001/*
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)
12struct phandle_2_cell {
13 const void *node;
14 int id;
15};
16#include <generated/dt-structs.h>
17#endif
18
19#endif