aboutsummaryrefslogtreecommitdiff
path: root/include/zfs
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-25 21:38:49 +0200
committerSimon Glass <sjg@chromium.org>2020-08-22 07:58:39 -0600
commitae6b33dcc342e8539f4f69aba238748e9e89280a (patch)
treeca97266266553e62a86e10c9c8a9ae1f15f3ae3f /include/zfs
parent2e6132d835631946b7a67dedd8f5bc902304b0f9 (diff)
downloadu-boot-ae6b33dcc342e8539f4f69aba238748e9e89280a.zip
u-boot-ae6b33dcc342e8539f4f69aba238748e9e89280a.tar.gz
u-boot-ae6b33dcc342e8539f4f69aba238748e9e89280a.tar.bz2
dm: fix ofnode_read_addr/size_cells()
In the case of the live tree ofnode_read_addr_cells() and ofnode_read_size_cells() return the #address-cells and #size-cells defined in the parent node. With the patch the same is done for a non-live tree. The only consumer of these functions is currently the CFI flash driver. This patch fixes the incorrect parsing of the device tree leading to 'saveenv' failing on qemu_arm64_defconfig. For testing qemu-system-aarch64 has to be called with -drive if=pflash,format=raw,index=1,file=envstore.img to provide the flash memory. envstore.img must be 64 MiB large. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/zfs')
0 files changed, 0 insertions, 0 deletions