summaryrefslogtreecommitdiff
path: root/tools/dtoc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-25 18:59:17 -0600
committerSimon Glass <sjg@chromium.org>2016-09-18 21:04:39 -0600
commit20024daee58906712f71b927bd86951d1ddb469d (patch)
treef798cb9cead6f7428b0eb3c67018cbfa4532a32d /tools/dtoc
parentbabdbde68f1b993289462394f209f4010c761246 (diff)
downloadu-boot-20024daee58906712f71b927bd86951d1ddb469d.tar.gz
u-boot-20024daee58906712f71b927bd86951d1ddb469d.tar.bz2
u-boot-20024daee58906712f71b927bd86951d1ddb469d.zip
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>
Diffstat (limited to 'tools/dtoc')
-rw-r--r--tools/dtoc/fdt_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/fdt_util.py b/tools/dtoc/fdt_util.py
index 3e25a8b980..32f41d72d7 100644
--- a/tools/dtoc/fdt_util.py
+++ b/tools/dtoc/fdt_util.py
@@ -22,7 +22,7 @@ def fdt32_to_cpu(val):
Return:
A native-endian integer value
"""
- return struct.unpack(">I", val)[0]
+ return struct.unpack('>I', val)[0]
def EnsureCompiled(fname):
"""Compile an fdt .dts source file into a .dtb binary blob if needed.