]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - tools/dtoc/fdt.py
dtoc: Fixed endianness in Prop.GetEmpty()
[thirdparty/u-boot.git] / tools / dtoc / fdt.py
index 76cd66fbf958e6d0f516f35a39651c2ade9dd3b3..ccf3b23ced475205064968e1ad6a94c825fcc17e 100644 (file)
@@ -146,7 +146,7 @@ class Prop:
         if type == TYPE_BYTE:
             return chr(0)
         elif type == TYPE_INT:
-            return struct.pack('<I', 0);
+            return struct.pack('>I', 0);
         elif type == TYPE_STRING:
             return ''
         else: