[U-Boot] [PATCH 2/2] dtoc: Decode val if it's a byte string
Simon Glass
sjg at chromium.org
Sat Apr 1 04:23:57 UTC 2017
On 30 March 2017 at 08:44, George McCollister
<george.mccollister at gmail.com> wrote:
> 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 at gmail.com>
> ---
> tools/dtoc/fdt_util.py | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list