diff options
author | Simon Glass <sjg@chromium.org> | 2018-10-01 12:22:49 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-10-09 04:40:27 -0600 |
commit | 41b781ddf1869f5349e05ace888979f3673fe8c6 (patch) | |
tree | c7c4155b3dfa572cc2f9aba0186c4f61d2b11b52 /tools | |
parent | 8c466ed3807811de0c5daf3e803048a6f4bd7401 (diff) | |
download | u-boot-41b781ddf1869f5349e05ace888979f3673fe8c6.zip u-boot-41b781ddf1869f5349e05ace888979f3673fe8c6.tar.gz u-boot-41b781ddf1869f5349e05ace888979f3673fe8c6.tar.bz2 |
dtoc: Fix the value of SetInt()
This does not set the correct value at present. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dtoc/fdt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt.py index 2df2d4b..9ad72f8 100644 --- 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 |