]> git.dujemihanovic.xyz Git - u-boot.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)
commit3e200caff05bccc86392ba531770ebb0879ef93e
tree604f79d7a58a7d32183732959843f812249dd375
parent0c59acef34434e47e054957108eb4fa7cef93123
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