Skip to content
Snippets Groups Projects
Commit 20024dae authored by Simon Glass's avatar Simon Glass
Browse files

dtoc: Correct quotes in fdt_util


The style is to use single quotes for strings where possible. Adjust this
function.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent babdbde6
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ def fdt32_to_cpu(val): ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment