commit | 534eda92580d17e36d1e049b22b84a8e68c4002d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri May 17 22:00:43 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 10 16:52:58 2019 -0600 |
tree | f925679f6dca36bc201d549d78d06e4da44d0e9c | |
parent | c69b4507d73a3dc02a9c32c6709914e82351f0b2 [diff] |
dtoc: Update dtb_platdata to support Python 3 The only change needed is to update get_value() to support the 'bytes' type correctly with Python 3. With this the dtoc unit tests pass with both Python 2 and 3: PYTHONPATH=/tmp/b/sandbox_spl/scripts/dtc/pylibfdt python \ ./tools/dtoc/dtoc -t PYTHONPATH=~/cosarm/dtc/pylibfdt:tools/patman python3 \ ./tools/dtoc/dtoc -t Signed-off-by: Simon Glass <sjg@chromium.org>