dtoc: Adjust code for Python 3
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:31 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit90a8132f4de673dbb35ffee265df93b32d6582ca
tree2f08c4eb67e6dcd3c8389b209ef3fa115378ca2d
parentb2e73125b20a8f15d031d05dfec572b5014bc7fe
dtoc: Adjust code for Python 3

Update a few things in this tool so that they support Python 3:
- print statements
- iteritems()
- xrange()

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py
tools/dtoc/dtoc.py
tools/dtoc/test_dtoc.py
tools/dtoc/test_fdt.py