Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/tools/dtoc/
H A Dfdt_util.pyf156b5b59750f4140ffa2dd6a5eab686ba0212c3 Thu Mar 30 14:44:25 UTC 2017 George McCollister <george.mccollister@gmail.com> dtoc: Decode val if it's a byte string

With Python 3.5.2 encode will throw an exception if val is a byte array.
Decode it to a string first. This assumes it's utf-8, if it's not valid
utf-8 it will throw an exception.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>