projects
/
platform
/
kernel
/
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
76cd66f
..
ccf3b23
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: