[U-Boot] [PATCH v2 09/10] dtoc: Decode strings for struct.unpack on python 3.x
Simon Glass
sjg at chromium.org
Thu Oct 6 04:03:12 CEST 2016
On 27 September 2016 at 09:03, Paul Burton <paul.burton at imgtec.com> wrote:
> 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 at imgtec.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
> tools/dtoc/fdt_util.py | 3 +++
> 1 file changed, 3 insertions(+)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list