]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/dt-structs.h
Integrate AT91 bootcount driver
[people/ms/u-boot.git] / include / dt-structs.h
index 2ed997115aee5e6e56a9fb4fbc0f0740bd27b5ca..c0f56951b530843e2fda58e091bc74da57eafaa0 100644 (file)
 #if CONFIG_IS_ENABLED(OF_PLATDATA)
 struct phandle_0_arg {
        const void *node;
-       int id[0];
+       int arg[0];
 };
 
 struct phandle_1_arg {
        const void *node;
-       int id;
+       int arg[1];
 };
-#include <generated/dt-structs.h>
+
+struct phandle_2_arg {
+       const void *node;
+       int arg[2];
+};
+#include <generated/dt-structs-gen.h>
 #endif
 
 #endif