projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa80c25
)
dtoc: Fixed endianness in Prop.GetEmpty()
author
Simon Glass
<sjg@chromium.org>
Fri, 14 Sep 2018 10:57:14 +0000
(
04:57
-0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 28 Sep 2018 17:09:01 +0000
(11:09 -0600)
This should be big endian, since that is what device tree uses. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/fdt.py
patch
|
blob
|
history
diff --git
a/tools/dtoc/fdt.py
b/tools/dtoc/fdt.py
index 76cd66fbf958e6d0f516f35a39651c2ade9dd3b3..ccf3b23ced475205064968e1ad6a94c825fcc17e 100644
(file)
--- a/
tools/dtoc/fdt.py
+++ b/
tools/dtoc/fdt.py
@@
-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: