blob: 0732c442ff8d9e600c39979327d911b2dc0c6300 [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
Philipp Tomsich7033e0d2017-07-11 23:30:07 +02007#ifndef __DT_STRUCTS
8#define __DT_STRUCTS
Simon Glassda59fae2016-07-04 11:58:02 -06009
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