commit | a2b9acb0d31e278976b63cd05612e015aa6c16c8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 01 12:22:49 2018 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Oct 09 04:40:27 2018 -0600 |
tree | c7c4155b3dfa572cc2f9aba0186c4f61d2b11b52 | |
parent | 6641437d638c2dc05201743dfc7c4db9298d619e [diff] |
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>
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 @@ 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