commit | 2b6ed5e92e3b29fbfa3a966433d4bbc2ec1e9c58 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri May 17 22:00:35 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 10 16:52:58 2019 -0600 |
tree | c8d0f7232f82931ae27e1ee4e7888869270c3b5a | |
parent | 7e6952df36a28b570818ee1fd36b07c41ef14aea [diff] |
dtoc: Updates BytesToValue() for Python 3 The difference between the bytes and str types in Python 3 requires a number of minor changes to this function. Update it to handle the input data using the 'bytes' type. Create two useful helper functions which can be used by other modules too. Signed-off-by: Simon Glass <sjg@chromium.org>