binman: Update 'text' entry for Python 3
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:49 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commite16b7b6c49ff80c8cc2eb53b1f210dc4b743dc90
tree67151c11a5619a1768627303f21d94b10bc06acd
parentf3a58c8a7858bfb38456aae7cadecdfbd0f3da98
binman: Update 'text' entry for Python 3

This code reads a binary value and then uses it as a string to look up
another value. Add conversions to make this work as expected on Python 3.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/text.py