dtoc: Use GetBytes() to obtain repeating bytes
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:33 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit194b8d5e71a41dbb839fdaa49677b146e6a0fb5d
tree57a0387ce8d1b8be0bc5757acda6b6e9c0c2482d
parent1953ce75312ab50988f2c81f7250c99dfc2ed52b
dtoc: Use GetBytes() to obtain repeating bytes

Use this helper function which works on both Python 2 and Python 3.

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