diff options
author | Adrian Fiergolski <adrian.fiergolski@fastree3d.com> | 2022-01-11 19:05:31 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2022-03-23 07:27:37 +0100 |
commit | 532a5b297cb27a23979cf2ea2dd2a00bb2e8cf58 (patch) | |
tree | 9b88cfc6d8fcb4a5fd62544391c99166f6449677 /drivers/i2c/i2c-uclass.c | |
parent | e4662716fbbe4ce717cbf9f193564943ffe355f8 (diff) | |
download | u-boot-532a5b297cb27a23979cf2ea2dd2a00bb2e8cf58.zip u-boot-532a5b297cb27a23979cf2ea2dd2a00bb2e8cf58.tar.gz u-boot-532a5b297cb27a23979cf2ea2dd2a00bb2e8cf58.tar.bz2 |
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: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
Diffstat (limited to 'drivers/i2c/i2c-uclass.c')
0 files changed, 0 insertions, 0 deletions