mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
209a55976b
Since we are now using the bytes type in Python 3, the conversion in fdt32_to_cpu() is not necessary, so drop it. Also use 'int' instead of 'long' to convert the integer value, since 'long' is not present in Python 3. With this, test_fdt passes with both Python 2 and 3: PYTHONPATH=/tmp/b/sandbox_spl/scripts/dtc/pylibfdt python \ ./tools/dtoc/test_fdt -t PYTHONPATH=~/cosarm/dtc/pylibfdt:tools/patman python3 \ ./tools/dtoc/test_fdt -t Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
.gitignore | ||
dtb_platdata.py | ||
dtoc | ||
dtoc.py | ||
dtoc_test.dts | ||
dtoc_test_add_prop.dts | ||
dtoc_test_addr32.dts | ||
dtoc_test_addr32_64.dts | ||
dtoc_test_addr64.dts | ||
dtoc_test_addr64_32.dts | ||
dtoc_test_aliases.dts | ||
dtoc_test_bad_reg.dts | ||
dtoc_test_bad_reg2.dts | ||
dtoc_test_empty.dts | ||
dtoc_test_phandle.dts | ||
dtoc_test_phandle_bad.dts | ||
dtoc_test_phandle_bad2.dts | ||
dtoc_test_phandle_reorder.dts | ||
dtoc_test_phandle_single.dts | ||
dtoc_test_simple.dts | ||
fdt.py | ||
fdt_util.py | ||
test_dtoc.py | ||
test_fdt | ||
test_fdt.py |