]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Handle 'reg' properties with unusual sizes
authorSimon Glass <sjg@chromium.org>
Tue, 29 Aug 2017 20:15:51 +0000 (14:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:27:47 +0000 (05:27 -0600)
commiteb5ed07796847f37cccc665c581ba9ddcbd2452f
tree70ab0c5c5fe49d87679988b22737c99f72d022dc
parente9543804bca010bcea8b4381606cb1c199bb2f36
dtoc: Handle 'reg' properties with unusual sizes

At present dtoc assumes that all 'reg' properties have both an address and
a size. For I2C devices we do not have this. Adjust dtoc to cope.

Reported-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
tools/dtoc/dtoc_test_simple.dts
tools/dtoc/test_dtoc.py