diff options
| author | Simon Glass <sjg@chromium.org> | 2019-05-17 22:00:43 -0600 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2019-07-10 16:52:58 -0600 |
| commit | 9b044f7e3d1b085499877774557b2db47fb4339c (patch) | |
| tree | f925679f6dca36bc201d549d78d06e4da44d0e9c /include/linux/byteorder | |
| parent | 209a55976bd2aa4ba7e70b263a70fa14dd0c7675 (diff) | |
| download | u-boot-9b044f7e3d1b085499877774557b2db47fb4339c.tar.gz u-boot-9b044f7e3d1b085499877774557b2db47fb4339c.tar.xz u-boot-9b044f7e3d1b085499877774557b2db47fb4339c.zip | |
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>
Diffstat (limited to 'include/linux/byteorder')
0 files changed, 0 insertions, 0 deletions
