fw_update: fix python3 incompatibility
In py3 bytearrays are real, so we need to use 'encode' to make sure the
right command is being sent
BRANCH=None
TEST=None
@@ -257,7 +257,7 @@ class Supdate(object):
offset += pagesize
# Validate that the micro thinks it successfully wrote the data.
- read = self.wr_command(b"", read_count=4)
+ read = self.wr_command(''.encode(), read_count=4)
result = struct.unpack("<I", read)
result = result[0]
if result != 0:
