[PATCH v2 3/3] misc: atsha204a: fix i2c address readout from DTS

Marek Behún marek.behun at nic.cz
Tue Jan 11 19:55:11 CET 2022


On Tue, 11 Jan 2022 19:05:31 +0100
Adrian Fiergolski <adrian.fiergolski at fastree3d.com> wrote:

> 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: Adrian Fiergolski <adrian.fiergolski at fastree3d.com>

Reviewed-by: Marek Behún <marek.behun at nic.cz>


More information about the U-Boot mailing list