mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
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>
This commit is contained in:
parent
8c466ed380
commit
41b781ddf1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue