X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdt-structs.h;h=c0f56951b530843e2fda58e091bc74da57eafaa0;hb=1351700cf2eec9fd928dace86de0aabdb34dfeb5;hp=0732c442ff8d9e600c39979327d911b2dc0c6300;hpb=211aaf309cde193918f9a19b0b010acebfd80a82;p=u-boot diff --git a/include/dt-structs.h b/include/dt-structs.h index 0732c442ff..c0f56951b5 100644 --- a/include/dt-structs.h +++ b/include/dt-structs.h @@ -9,11 +9,21 @@ /* These structures may only be used in SPL */ #if CONFIG_IS_ENABLED(OF_PLATDATA) -struct phandle_2_cell { +struct phandle_0_arg { const void *node; - int id; + int arg[0]; }; -#include + +struct phandle_1_arg { + const void *node; + int arg[1]; +}; + +struct phandle_2_arg { + const void *node; + int arg[2]; +}; +#include #endif #endif