]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Fix up ofnode_get_addr_index() for 64-bit values
authorSimon Glass <sjg@chromium.org>
Tue, 25 Jul 2017 14:29:56 +0000 (08:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Jul 2017 18:02:47 +0000 (12:02 -0600)
commit0f6507a7e44c189eb20d77732c5114823918eadd
treeee19827b4fb0bf14508ba53704640bf7d2cb4ead
parentdcf988525f6e2045b9122ba7c3bf6a9bf44f146e
dm: core: Fix up ofnode_get_addr_index() for 64-bit values

At present this function only supports 32-bit (single-cell) values. Update
it to support two-cell values also.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Beaver, Jetson-TK1
Tested-by: Stephen Warren <swarren@nvidia.com>
drivers/core/ofnode.c