]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Correct dtc warning in /chosen node
authorSimon Glass <sjg@chromium.org>
Sat, 3 Feb 2018 17:36:58 +0000 (10:36 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 18 Feb 2018 19:53:38 +0000 (12:53 -0700)
commit7e87816caa2b54e7cca9aca9b29981e54fcd0496
treedeead47283b54ad492b662cb02a9c9766526f5dc
parent6d29cc7dcf2d35966aa0b6119fd1cbca0d21d5e6
sandbox: Correct dtc warning in /chosen node

At present dtc produces these warnings when compiling sandbox:

arch/sandbox/dts/test.dtb: Warning (reg_format): "reg" property in /chosen/chosen-test has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
arch/sandbox/dts/test.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /chosen/chosen-test
arch/sandbox/dts/test.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /chosen/chosen-test

Add the missing properties to avoid this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: f200680 (dm: core: parse chosen node)
arch/sandbox/dts/test.dts