Skip to content
Commit 532a5b29 authored by Adrian Fiergolski's avatar Adrian Fiergolski Committed by Heiko Schocher
Browse files

misc: atsha204a: fix i2c address readout from DTS



This patch replaces use fdtdec_get_addr with simpler dev_read_addr().
fdtdec_get_addr doesn't work properly on ZynqMP-based (64bit) system. Although
not confirmed, it could be related to the fact, that quoting the documentation,
"This variant hard-codes the number of cells used to represent the address and
size based on sizeof(fdt_addr_t) and sizeof(fdt_size_t)".

Signed-off-by: default avatarAdrian Fiergolski <adrian.fiergolski@fastree3d.com>
Reviewed-by: default avatarMarek Behún <marek.behun@nic.cz>
parent e4662716
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment