1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * Copyright (c) 2016 Google, Inc 4 */ 5 6#ifndef __DT_STRUCTS 7#define __DT_STRUCTS 8 9/* These structures may only be used in SPL */ 10#if CONFIG_IS_ENABLED(OF_PLATDATA) 11struct driver_info; 12 13struct phandle_0_arg { 14 uint idx; 15 int arg[0]; 16}; 17 18struct phandle_1_arg { 19 uint idx; 20 int arg[1]; 21}; 22 23struct phandle_2_arg { 24 uint idx; 25 int arg[2]; 26}; 27 28#include <generated/dt-structs-gen.h> 29#include <generated/dt-decl.h> 30#endif 31 32#endif 33