summaryrefslogtreecommitdiff
path: root/tools/omap
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-09-27 16:03:57 +0100
committersjg <sjg@chromium.org>2016-10-09 09:30:32 -0600
commitc4c5f9eefbda7231d0e9703905524faebe71e795 (patch)
treebf7d1fe32621b70250c37e699110ebefd3302290 /tools/omap
parent4ae6549f8e1cd31076c6dbabef568689fc313a13 (diff)
downloadu-boot-imx-c4c5f9eefbda7231d0e9703905524faebe71e795.zip
u-boot-imx-c4c5f9eefbda7231d0e9703905524faebe71e795.tar.gz
u-boot-imx-c4c5f9eefbda7231d0e9703905524faebe71e795.tar.bz2
dtoc: Decode strings for struct.unpack on python 3.x
On python 3.x struct.unpack will complain if we provide it with a string since it expects to operate on a bytes object. In order to satisfy this requirement, encode the string to a bytes object when running on python 3.x. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/omap')
0 files changed, 0 insertions, 0 deletions