]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Adjust detection of 64-bit properties
authorSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 03:17:26 +0000 (16:17 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commit775499844bb9e196c6b5b9a096782cc74fd79c5d
tree604f79d7a58a7d32183732959843f812249dd375
parent83feb6876eca33d712c1ad390bd0eabcd462be21
dtoc: Adjust detection of 64-bit properties

At present an empty size is considered to be a 64-bit value. This does not
seem useful and wastes space. Limit the 64-bit detection to where one or
both of the addr/size is two cells or more.

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