Re: [U-Boot] [PATCH v2 01/17] patman: Adjust 'command' to return strings instead of bytes

2019-11-05 Thread sjg
At present all the 'command' methods return bytes. Most of the time we actually want strings, so change this. We still need to keep the internal representation as bytes since otherwise unicode strings might break over a read() boundary (e.g. 4KB), causing errors. But we can convert the end result

[U-Boot] [PATCH v2 01/17] patman: Adjust 'command' to return strings instead of bytes

2019-10-31 Thread Simon Glass
At present all the 'command' methods return bytes. Most of the time we actually want strings, so change this. We still need to keep the internal representation as bytes since otherwise unicode strings might break over a read() boundary (e.g. 4KB), causing errors. But we can convert the end result