Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[pandora-u-boot.git] / tools / dtoc / dtb_platdata.py
index 89066e6..39f416c 100644 (file)
@@ -835,6 +835,7 @@ class DtbPlatdata():
 
     def generate_uclasses(self):
         self.out('\n')
+        self.out('#include <common.h>\n')
         self.out('#include <dm.h>\n')
         self.out('#include <dt-structs.h>\n')
         self.out('\n')
@@ -1058,6 +1059,7 @@ class DtbPlatdata():
         self.out('/* Allow use of U_BOOT_DRVINFO() in this file */\n')
         self.out('#define DT_PLAT_C\n')
         self.out('\n')
+        self.out('#include <common.h>\n')
         self.out('#include <dm.h>\n')
         self.out('#include <dt-structs.h>\n')
         self.out('\n')
@@ -1090,6 +1092,7 @@ class DtbPlatdata():
         See the documentation in doc/driver-model/of-plat.rst for more
         information.
         """
+        self.out('#include <common.h>\n')
         self.out('#include <dm.h>\n')
         self.out('#include <dt-structs.h>\n')
         self.out('\n')