mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
dtoc: Correct quotes in fdt_util
The style is to use single quotes for strings where possible. Adjust this function. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
babdbde68f
commit
20024daee5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def fdt32_to_cpu(val):
|
||||||
Return:
|
Return:
|
||||||
A native-endian integer value
|
A native-endian integer value
|
||||||
"""
|
"""
|
||||||
return struct.unpack(">I", val)[0]
|
return struct.unpack('>I', val)[0]
|
||||||
|
|
||||||
def EnsureCompiled(fname):
|
def EnsureCompiled(fname):
|
||||||
"""Compile an fdt .dts source file into a .dtb binary blob if needed.
|
"""Compile an fdt .dts source file into a .dtb binary blob if needed.
|
||||||
|
|
Loading…
Add table
Reference in a new issue