Home
last modified time | relevance | path

Searched hist:c4c5f9eefbda7231d0e9703905524faebe71e795 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/tools/dtoc/
H A Dfdt_util.pyc4c5f9eefbda7231d0e9703905524faebe71e795 Tue Sep 27 15:03:57 UTC 2016 Paul Burton <paul.burton@imgtec.com> 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>