Skip to content
Commit 7f18fb8a authored by Matthias Schiffer's avatar Matthias Schiffer Committed by Simon Glass
Browse files

pinctrl: single: fix compile warnings with PHYS_64BIT on 32bit



pinctrl-single uses fdt_addr_t and phys_addr_t inconsistently, but both
are wrong to be passed to readb() etc., which expect a pointer or
pointer-sized integer. Change the driver to use
dev_read_addr_size_index_ptr(), so we consistently deal with void*
(except for the sandbox case and single_get_pin_muxing()).

Signed-off-by: default avatarMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Add missing mapmem.h header:
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent bc8fa1cb
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