projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c466ed
)
dtoc: Fix the value of SetInt()
author
Simon Glass
<sjg@chromium.org>
Mon, 1 Oct 2018 18:22:49 +0000
(12:22 -0600)
committer
Simon Glass
<sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000
(
04:40
-0600)
This does not set the correct value at present. 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 2df2d4b0cc7a67abcfbc60f1624b5e0db4b85467..9ad72f89ec7bffea7ad0dd4effcf2433191075a1 100644
(file)
--- a/
tools/dtoc/fdt.py
+++ b/
tools/dtoc/fdt.py
@@
-171,7
+171,7
@@
class Prop:
val: Integer value (32-bit, single cell)
"""
self.bytes = struct.pack('>I', val);
- self.value =
val
+ self.value =
self.bytes
self.type = TYPE_INT
self.dirty = True